Alexander Gundermann

Results comments of Alexander Gundermann

> Can we make any custom props on available on state.routes? :+1: I don't really like the factory function approach for handlers either. Instead of using mountDepth, I imagine you...

`this.props.routes[1]` will always be the route that's matched at depth 1. I don't know what you mean by "current route" either; there's only a current set of routes (`this.props.routes`), each...

If you know the exact amount of steps to go back, and if you use HistoryLocation, I think right now it would be easiest to bypass the router: `window.history.go(-n)`.

To me it sounds like redirection is exactly what you're looking for. > How can we provide a default route from /to /user/profile? The way I see it, DefaultRoute is...

How do you bundle your files? Seems like `React` is undefined in react-router, because the line `window.React = React` is executed only after `require('react-router')`, and you somehow configured react-router to...

Your server returns a blank page and 404 for those paths, so your app and react-router aren't even started. You need to set it up to send index.html for unmatched...

It's intentionally not supported: #601 The way I understand the docs, you could also use pushState and include the fragment meta tag ``, so google would request http://example.com/about?escaped_frament= Is there...

> With regard to the pushState, as far as I understand it's no good using it without server-side rendering. Opening a link to (http://example.com/about) [http://example.com/about] in a browser, the backend...

I would simply avoid using hashbangs altogether and only use `HistoryLocation`, which automatically falls back to `RefreshLocation` (reload from server). You can find a lot of discussions about the drawbacks...

For server-side rendering, you're supposed to pass the requested path (as a string) instead of any `Location` object to `Router.run`. Have a look at the snippet there: https://github.com/rackt/react-router/blob/master/docs/guides/server-rendering.md This will...