The component is not been displayed when I navigate to localhost:3000/signup Is it because react router is updated to v4 and they way you route in react has now changed?
I have my main.js
file
import Signup from '../imports/ui/Signup';
import
const routes = (
<Router history={browserHistory}>
<Route path="/signup" component={Signup}/>
</Router>
);
Signup component
import React from 'react';
export default class Signup extends React.Component {
render() {
return <p>Signup</p>
}
}
I'm using react router v4, also using Meteor.