Alexander Gundermann
Alexander Gundermann
Just to add, there's also [an example](https://github.com/rackt/react-router/blob/86655d7a3358c11560f253294a4d4d6b4b9c0378/examples/async-data/app.js#L132) of how to set up your own events triggered within the run callback.
I don't quite understand the purpose of `shouldRenderWithProps` . With the transition hooks and setProps in place, can't we already do `setProps({isReady: false})` at the beginning, and `setProps({isReady: true})` at...
@mjackson Ah, so the idea of `getAsyncProps` has been discarded entirely in favor of `shouldRenderWithProps`? Shouldn't it be exclusively for the server then? Cause as you mentioned above, people are...
@mjackson It still feels kinda weird to me to have the same method deciding on whether I want to render nothing on the client and whether the props are ready...
Thanks for writing all that down guys :+1: I like the idea of having a powerful low level API like this. But to be honest, I'm still a bit confused...
Yeah, that makes a lot more sense to me :+1: . I'm also liking the way of (not) managing data at the low level API. Sorry I didn't quite get...
Sorry I wasn't clear. I was talking about the [stores in react-router](https://github.com/rackt/react-router/tree/master/modules/stores) which would cause problems when rendering (resolving async props for) more than one route at the same time...
Works for me too (the tab shows up). I guess this is because `require('react')` is being checked as well (which works thanks to browserify). At least that's what's mentioned [here](https://github.com/facebook/react-devtools#the-react-tab-doesnt-show-up).
Can't you pass them during route setup? https://github.com/rackt/react-router/blob/master/docs/api/components/Route.md#prop
It's fixed in master. 62c49d2925785a4184860accdc125fdeb0ad4806