This repository has been archived by the owner on Jul 19, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
'react-router' does not contain an export named 'IndexRoute' #331
Comments
You can write instead of IndexRoute the following: |
@anklaa That will give a warning that the child routes are not going to be rendered. |
'react-router' does not contain an export named 'Link'. |
@WilliamShoww I believe Link was moved here: |
There is no browserHistory export in v4. If you're using v2/3, then you just need to install the correct version (npm install react-router@3). If you are using v4, you should read this section of the migration guide. |
please try to user Dom. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using CreateReactApp and when I use:
I've got error:
Does the api changed and tutorial is out of date?
The text was updated successfully, but these errors were encountered: