New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Server side rendering not working #78
Comments
Looks like the SVG is not passed via svg-loader. |
Hi @artursgirons I've been searching for server side rendering without loose my mind because just a icon, so I found this https://medium.com/@david.gilbertson/icons-as-react-components-de3e33cb8792#.3b0493ysm So, just like it on heart icon and love all this too @boopathi server side renders was be a great example, but https://github.com/webpack/react-webpack-server-side-example it not goes ahead |
Hi @artursgirons I think I am running to this same issue. My node service crashes when I do a browser refresh on the page that imports the svg file but if I load my app on a different page that does not have svg file imported and then proceed to the page that imports the svg, it works totally fine until I refresh the page and spits out the same error you described. Wondering if you had made any progress on the issue? |
It doesn't pass svgo plugins options correctly too:
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Stale bot strikes again! |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Looks like there is no interest in fixing this? |
@artursgirons I'm also running into the same issue. It is working until I refresh the page, Once I refresh the page node is crashing with error: UnhandledPromiseRejectionWarning: Unhandled promise rejection |
Has anyone had any joy with this at all? I'm still having issues. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
It feels like when webpack-dev-middleware brakes it all:
Unexpected token (1:1)
The text was updated successfully, but these errors were encountered: