You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After setting the state App::render is called as well as RouteHandler::render but the props on RouteHandler are not updated, they still point to the initial values.
Is this expected (documented?) behavior? And if so is there something I can do about it. I need to pass changed stuff to the route handlers.
The text was updated successfully, but these errors were encountered:
storeListener can't be mixed in in the nested route handlers because
changing active route then seem to stop all event listening from all
storeListeners. Noticed this when the notifications stopped working.
Also changed the notification system to use named events emitted by the
stores. This way it became more general.
Also had to introduce a new top level route to handle passing all store
contents down to nested handlers.
See remix-run/react-router#358 and remix-run/react-router#314
lockbot
locked as resolved and limited conversation to collaborators
Jan 25, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Consider following code (live demo at http://jsfiddle.net/raem6o6z/)
After setting the state
App::render
is called as well asRouteHandler::render
but the props on RouteHandler are not updated, they still point to the initial values.Is this expected (documented?) behavior? And if so is there something I can do about it. I need to pass changed stuff to the route handlers.
The text was updated successfully, but these errors were encountered: