mastering-react
mastering-react copied to clipboard
Dealing with React Router updates
Okay, so I got this error when I finished the 7.1 video:
Error: Cannot find module 'react-router/lib/location'
So I copied a few lines from the official documentation, but not all of it, cause I wasn't really sure how it all worked
https://github.com/rackt/react-router/blob/master/docs/guides/advanced/ServerRendering.md
So I just copied a few lines to make it still work as intended from what I gathered from the video