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
Error with react-router #43
Comments
Um, that's weird. Does it help to only enable react-hot-loader for JSX (and not JS) files? |
It's more or less the same issue as #24. You can fix this by adjusting your regex to only enable hot loader for JSX files. If you always use JS extension, you can opt some specific modules out of hot reloading by using |
This should no longer be an issue as of |
It's not an issue with 1.0, so closing. Official release coming later this week. |
Thank you! |
Use react-router and got an error on update:
Cannot not apply hot update to app.js: Found duplicate displayName in createRouter.js: "Router". react-hot-loader uses displayName to distinguish between several components in one file.
The text was updated successfully, but these errors were encountered: