larrymyers / react-mini-router

A minimal URL router for React.js
MIT License
282 stars 38 forks source link

Uncaught TypeError: Cannot read property '_currentElement' of null #28

Closed dwoodlock closed 9 years ago

dwoodlock commented 9 years ago

I'm getting a Uncaught TypeError: Cannot read property '_currentElement' of null error on my system when I'm just using your example code without any edits. The React.createClass() doesn't cause the error. But the: React.render( , document.getElementById('reactMain') ); causes the error before the render() function in App is actually called. My version of React is React v0.13.2. Please advise. Thanks. Don