-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Closed
Description
I don't know if there's something I'm doing wrong, but after upgrading ChucK Demos from React Router 0.10.x to 0.11.1 and re-writing appropriately, every request is getting routed to the Home handler (my routing takes place in jsx/app.js). I have currently two valid routes, which are '/' and '/about'. Both worked prior to upgrading, but now /about routes to the Home handler and a hash is appended to the URL (so that it becomes e.g. http://localhost:3000/about#/
).
My routes look like this:
var routes = (
<Route path="/" handler={App}>
<DefaultRoute name="home" handler={Home}/>
<Route name="about" handler={About}/>
</Route>
)
ReactRouter.run(routes, function (Handler) {
React.render(<Handler/>, document.body)
})
Am I doing something wrong? I even tried pasting the routing setup from your README, and everything still routed to Home. Please help make sort out these routing woes.
Metadata
Metadata
Assignees
Labels
No labels