Alexander Gundermann

Results comments of Alexander Gundermann

I guess the docs are wrong. Instead of full URLs it should say full paths. For external links, just use ``.

Query in `to` parameter is not supported, only pathname (or route name). Use the third parameter as you've already shown. ``` js transitionTo/makePath('/foo/', null, {bar: 1, anything: 'here'}) ``` Edit:...

Can you elaborate on what you're trying to achieve?

Never thought of that, good catch :) So I guess we should only force replaceWith for transitionTo if the pending transition (or any non-finalized transition before that) was a transitionTo...

If I'm understanding you correctly, this is related to #674 . So perhaps this would work: ``` js var lastState = null; Router.run(routes, Router.HistoryLocation, (Handler, routerState) => { (async function...

Ah, I overlooked that event. In that case, you could also try to work around rerendering `Handler`, e.g. by causing a `setState` on your top level handler instead, since `Handler.willReceiveProps`...

`` triggers a new React.render which is why the context gets lost. You'd need to somehow inject it, e.g. by using a wrapper that takes the values via props ```...

Try ``` js childContextTypes: { router: React.PropTypes.func, routeDepth: React.PropTypes.number }, getChildContext () { return { router: RouterStub, routeDepth: 0 }; }, ```

Rerendering `` is supposed to cause a full "rerender" of your react tree, i.e. it should call componentWillReceiveProps, shouldComponentUpdate, render etc from top to bottom, while unmounting old components, and...

I guess he was referring to https://github.com/rackt/react-router/issues/1173 . There's no implementation yet, so I'd just use context for now.