I am new to react.js. I upgraded react-router from v0.13 to v1.0.2.
According to the changelog, I replaced
Router.run(routes, function(Root){
React.render(<Root/>, document.getElementById('app'));
});
with
render(<Router routes={routes}/>, document.getElementById('app'));
I get an error saying render is not a function.
What am I missing here?