You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using node 6.11.0, getting the following after npm start
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in. Check your code at index.js:24.
in Docs (at index.js:6)
Activity
vitozgonik commentedon Nov 3, 2017
hey, I had the same issue, found out it was the version of react-router causing this.
so I installed react-router-dom instead, note that you need to then change instances of Match to Route
there actually is a pull request to fix this - see here what needs changing #9
cvramirez commentedon Jan 12, 2018
You can try this fork until the fix gets merged.
https://github.com/susielu/component-template