andreypopp/react-router-component — pull request #10 by sterlingwes (2014-03-08 20:47:04+00:00)
Title: transfer props to handler to fix state propagation

Hi Andrey - I found that passing props from the Router wasn't reflecting the state of the parent as it updated. Ie:

```

```

Changes to the `user` state aren't being reflected in the `user` prop for `IndexHandler`.

`transferPropsTo` the handler directly fixed this issue for me. Is there a better way to go about this? Also, why the `React.Div` between the main Router component and the matched Handler? Seems redundant since the Handler will be a single root element and actual React component anyways?

Thanks again