Alexander Gundermann

Results comments of Alexander Gundermann

I think it's your `configureStore` method that's injecting the state when`window.__INITIAL_STATE__` is undefined. `export default function configureStore(initialState = {}) {` Change it to `export default function configureStore(initialState) {`

Yes, the way you set it up, your `configureStore` essentially calls `createStore(reducer, window.__INITIAL_STATE__ || {})` (null and other edge cases aside), i.e. your initial state will never be undefined, so...

What are the benefits of using generators? If I understand the motivation correctly, I think this could be better solved in traditional ways with something like [sequencify](https://www.npmjs.com/package/sequencify): ``` js function...

> This moves dependency declaration to parent reducer which is what we want to avoid. I would also prefer to avoid reliance on strings. That's just a matter of code...

Messing up refs is a known problem with higher order components. Fortunately, `connect` provides an [API](https://github.com/reactjs/react-redux/blob/master/docs/api.md#getwrappedinstance-reactcomponent) that should help here.

Wouldn't it be possible to store the old route handler in state and letting the new handler signal when it's done? Something like ``` js // Parent componentWillReceiveProps: function(nextProps){ if(nextProps.activeRouteHandler...

Can't you already achieve the same with something like ``` js // Routes // Main var Main = React.createClass({ render: function(){ var routeHandler = this.props.activeRouteHandler(); var sidebarHandler = routeHandler.props.sidebarHandler(); return...

Not sure I understand the example completely, but have you thought about passing callbacks down the hierarchy? For example, in your /booking/:day handler: ``` js handleNavigateUp: function(){ Router.transitionTo(..); }, render:...

I agree about the use of query params. But as for implementing this with your given route config, I think it would be sufficient to adjust the destination routes of...

As far as I know, there is no real support for that. But this should work inside render and perhaps componentDidUpdate.. ``` js render: function(){ var activeHandler = this.props.activeRouteHandler(); var...