Comments (6)
Maybe because you only have name=...
but don't have path=...
attributes on the <Route>
declarations.
from react-isomorphic-starterkit.
@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
The path used in the URL. If left undefined, the path will be defined by the name, and if there is no name, will default to /.
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
from react-isomorphic-starterkit.
Do you get any console errors (in browser or in your terminal)? I too find it strange that it works just once. What does About.jsx
look like?
from react-isomorphic-starterkit.
@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;
from react-isomorphic-starterkit.
Can you log the value that is passed to this.transitionTo(...)
each time you click?
from react-isomorphic-starterkit.
Closing issue because the problem isn't likely to be caused by the starterkit.
from react-isomorphic-starterkit.
Related Issues (20)
- hot reloading client side not working
- Timed out waiting for dist/*.js after 30 seconds HOT 2
- Internal Server Error when running npm run watch HOT 3
- React-router example
- Location object does not get passed to components server side.
- Had to downgrade to Node v5 for `npm run watch` to work HOT 4
- Images not loading in Webpack build
- Heroku deployment is not working simple express app
- 帅哥,服务端渲染的原理是什么?
- General questions about react-transmit usage within this kit HOT 2
- `Server-side React render was discarded` after migrating to express HOT 1
- Passing custom data (e.g. token) to props during server-side render HOT 1
- Nested containers (with getFragment) prevents server from rendering HOT 3
- npm run watch fails after update to webpack 2 HOT 1
- Doesn't work HOT 1
- Help? It fails to start
- All done but nothing works HOT 3
- Operand to 'typeid'
- not working HOT 2
- does not work out of the box
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-isomorphic-starterkit.