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
{{ message }}
This repository was archived by the owner on Oct 26, 2018. It is now read-only.
This may be common knowledge that I just discovered this morning, but TIL that the History API methods don't trigger hashchange events. So if one is, for example and, uh, hypothetically speaking of course, using the hash history in react-router (yes, it's not the preferred method, but, well, reasons), then emitting pushPath events that change only the hash don't end up triggering react-router or anything else that relies on listening for hashchange events.
I don't think this is a bug with this project, but thought it might be worth mentioning in the documentation. I'm happy to write that, if y'all also think it would be worthwhile.
The text was updated successfully, but these errors were encountered:
Hi @juanpaco. As you don't have any code here it's difficult to see what the problem is, but redux-simple-router definitely works with hash history. Is this the same issue as #145? (i.e. you need to pass the same history to redux-simple-router as you do to react-router)
There are some big changes going into master right now so we need to rework the docs and examples soon either way, so I think we can wait with doc changes.
This may be common knowledge that I just discovered this morning, but TIL that the History API methods don't trigger
hashchange
events. So if one is, for example and, uh, hypothetically speaking of course, using the hash history inreact-router
(yes, it's not the preferred method, but, well, reasons), then emittingpushPath
events that change only the hash don't end up triggeringreact-router
or anything else that relies on listening forhashchange
events.I don't think this is a bug with this project, but thought it might be worth mentioning in the documentation. I'm happy to write that, if y'all also think it would be worthwhile.
The text was updated successfully, but these errors were encountered: