Skip to content
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

Cannot Hot Reload with React Router v3 #578

Closed
eezhal92 opened this issue Jun 8, 2017 · 2 comments
Closed

Cannot Hot Reload with React Router v3 #578

eezhal92 opened this issue Jun 8, 2017 · 2 comments

Comments

@eezhal92
Copy link

eezhal92 commented Jun 8, 2017

Hi,

I'm newbie. I tried to set react-hot-loader v3.0.0-beta.7 with react-router v3.0.5 up, but it hot reloading didn't work when scene/page component changed. I also tried to follow this instruction but no luck.

I keep getting this error Warning: [react-router] You cannot change <Router routes>; it will be ignored;

Here's the repro:

Hope some folks can come up with solution and explanation.

Thanks A Lot.

@zation
Copy link

zation commented Jun 20, 2017

Seems we got the same problem, #592, my project is here: https://github.com/zation/react-admin-starter

@gregberge
Copy link
Collaborator

It is a known limitation, it is solved in v4. https://github.com/gaearon/react-hot-loader#known-limitations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants