react-router-redux doesn't render routes on state change via devtools

Created on 30 Oct 2017  路  6Comments  路  Source: ReactTraining/react-router

Version

react-router-redux - 5.x
react 16.x

Test Case

https://codesandbox.io/s/0vm32kj18p

Steps to reproduce

Expected Behavior

  • on state change in devtools, app renders routes in state

Actual Behavior

  • app does not render routes in state

note: there's some brief mention of dev tools in the README, but without context/reference.

thanks!

no-routing-with-dev-tools mov

Most helpful comment

Respectfully, I followed the instructions and it doesn't work. I call that a bug. You replied originally with "try this" which I already had, and the dysfunction still stands.

The readme says "this is beta software" and that it needs people to try it and find bugs. I believe I'm still doing this.

All 6 comments

@timdorr, will you please consider a re-open? i made those considerations already, and have enhanced the example to demonstrate so.

it looks like the version of location that gets injected is somehow _stale_. i updated my codepen, and you can see in BasicComponent::render that when doing time-travel with redux-devtools, location keeps console.logging the _same old location object_, so of course the route isn't changing.

No, this is a bug tracker, not a support system. For usage questions, please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out. Thanks!

Respectfully, I followed the instructions and it doesn't work. I call that a bug. You replied originally with "try this" which I already had, and the dysfunction still stands.

The readme says "this is beta software" and that it needs people to try it and find bugs. I believe I'm still doing this.

@cdaringe Have you fixed this bug?

No, all of my react work was paused indefinitel :/

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yormi picture yormi  路  3Comments

ackvf picture ackvf  路  3Comments

hgezim picture hgezim  路  3Comments

maier-stefan picture maier-stefan  路  3Comments

ryansobol picture ryansobol  路  3Comments