-
Notifications
You must be signed in to change notification settings - Fork 190
(React Router) Routes work only once #15
Comments
Maybe because you only have |
@RickWong thank you for your answer, but as you can see here https://github.com/rackt/react-router/blob/master/examples/transitions/app.js there is no path also, and here https://github.com/rackt/react-router/blob/master/docs/api/components/Route.md here is saying that
also, why does it work only once? after I open page in browser I can navigate to another page, but after I've navigated I can't make it again. ps to be sure added paths to routes definition, and it works the same, so not solved the issue |
Do you get any console errors (in browser or in your terminal)? I too find it strange that it works just once. What does |
@RickWong no errors, made video https://dl.dropboxusercontent.com/u/19321079/routes.mov About.jsx is simplest component as it can be import React from 'react';
const About = React.createClass({
render() {
return (
<div className="container">
Hello World
</div>
);
}
});
export default About; |
Can you log the value that is passed to |
Closing issue because the problem isn't likely to be caused by the starterkit. |
Hi!
I am new to react and trying to figure out with this project, and stucked with a problem when add new route it can be viewed only once.
so added files and new route https://gist.github.com/hunterman/1f46436face225b25425 and then I can transit to any page only once after page loaded, after that page is not rerendering, but only pushState works.
The text was updated successfully, but these errors were encountered: