Archives : June-2016

When I run the my app on browser I get on my console: “Warning: Failed propType: Invalid prop ‘component’ supplied to ‘route’” My routes file: import { Route, IndexRoute } from ‘react-router’; import React from ‘react’; import App from ‘./container/App’; import PContainer from ‘./container/PContainer/PContainer’; import PView from ‘./container/PView/PView’; const routes = ( <Route path=”/” component={App} ..

Read more

I’m taking my first steps with react-router. I’m currently using the hashHistory for development purposes and I’m performing ‘manual’ navigation. That is to say, I’m not using Link and I’m invoking history.push(‘/some/route’); in order to navigate (in response to plain old clicks on anchor tags). What I’m noticing is that, even when I’m already on ..

Read more