react-router-component
react-router-component copied to clipboard
Declarative router component for React.
You have several of interesting examples, but there is one main - with ajax request to get page data from server. Can you create it?
Thinking `` etc etc. See #128. This would help prevent some dependency hell and lighten the JS payload a bit in the usual case.
Redirect.
I'm looking for react-router-component's equivalent of https://github.com/rackt/react-router 's ``. If there isn't one, how do most users of react-router-component currently do their redirects?
I have a contextual router using the `NavigatableMixin` mixin at `/foo`. I want to do `this.navigate` from this router to `/bar/baz`, however when I do `this.navigate('/bar/baz')` it navigates to `/foo/bar/baz`....
I have the following two routers Parent ``` ``` Nested (Side note, without setting the path manually like I am none of the routes match for the nested router) ```...
It would be awesome if this could be hosted on cdnjs
Hello, The router component has been a great help to me, but I've run into an issue that I'm not sure can be solved. I have transitions between locations using...
[Currently](https://github.com/andreypopp/react-router-component/blob/b08fc07d6cb69200be595f8ec469619c441e29c3/lib/environment/Environment.js#L46), using `replaceState` is always opt-in (i.e. it defaults to `false`): ``` javascript if (!navigation.isPopState) { if (navigation.replace) { this.replaceState(path, navigation); } else { this.pushState(path, navigation); } } ``` I...
It would be nice if we could use both instead of either or. Example being if one person doesn't support pushstate and sends a url to someone that does.
This PR has two additions, though the first is really only a means to the second. Firstly, it adds an `onDispatch` callback. This is basically the same as `onNavigation`, but...