mhaagens / react-mobx-react-router4-boilerplate

React, React-Router 4, MobX and Webpack 2-boilerplate with async routes.
560 stars 137 forks source link

upgraded to mobx v3, mobx-react v4, added mobx-react-router #42

Closed jaynakus closed 7 years ago

jaynakus commented 7 years ago

I had upgraded to mobx 3.

There is still a weird problem. When pressing browsers back button does not re-render immediately. Probably a problem with mobx-react-router lib, will have to write an issue there.

Closes #41

njleonzhang commented 7 years ago

@jaynakus can this config work? have you fixed the issue you mentioned?

jaynakus commented 7 years ago

@njleonzhang, see the last commit, I had solved the problem the other way.

njleonzhang commented 7 years ago

@jaynakus I have tried your solution, but after triggering any hot-reload, router can not work.

image

jaynakus commented 7 years ago

@njleonzhang, everything works as it should, you'll have to live with that warning, because hot reloading is all about hacking.