-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Upgrade to React Router 4 #297
Comments
I really need this. react-router v4 really brought a lot of changes. |
Good luck for new comer |
+1 If this projects gets too dated it could discourage people from using this stack. |
Anyone did it on his own? Can you give some advice how to migrate mern project to react-router v4? |
Well, to preface I don't have much experience with using React Router. But looking at the v4 docs, I managed to make a basic working version: /server/server.js
/client/App.js
/client/routes.js
/client/modules/App/App.js
Caveats:
|
I have been working on a new mern stack based on this one and react-universally. After i ran into same issue as you guys. With react 15 and react-router 4 its working well. But with react 16 i ran into some issues with tests because react-addons-test-utils has been decapitated. If you wanna try my repo you can click at the link below. Link to the repo https://github.com/Ballpin/mern-starter2 |
I decided to create a very simple updated version of this stack. Tech used is React 16, React-router-4, Webpack3, Redux, Redux-saga, code Splitting with Loadable-components, HMR, SSR. I've kept everything very simple so people new to any of these technologies shouldn't have a problem understanding what's going on. Please let me know in the issues at the below repo if you're having any problems running this and please share. |
This has been officially moved to V2.8.0 and will be taken care of soon (working on V2.5) |
Hi @nreoch25 , Since this project is deprecated, I started a new MERN project in Typescript.
The project is still under construction but it already works well now. |
Are there any plans to upgrade react-router to version 4? It would be interesting to hear if/how you guys plan on tackling that.
The text was updated successfully, but these errors were encountered: