-
Notifications
You must be signed in to change notification settings - Fork 960
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why history.length
is gone?
#960
Comments
Doesn't seem to be mentioned in the changelog, but yeah that's surprising. |
Use |
Thanks for the tip but that won't help when the chosen history type is |
I think this change should be mentioned in docs. Additionally, if you use |
how to get history.length ? |
Does anyone know how to know history.length? |
There's been a PR open for this for two years. It's adds 4 lines of code and reverts an undocumented change. My perception is that the maintainers just don't care. You're on your own. I waited hopefully for a long time. I won't ever use this library for future projects. |
I'm migrating from react-router-domv5 to v6, and encountered that
history.length
is no longer supported in history v5. In this situation, I have several questions.history.length
is gone? Is there some contexts related to about this?I looked for lots of channels(SO, RRD github issue, history github issue, googling etc...) but couldn't find out the reason and solution.
Thanks for your reading.
The text was updated successfully, but these errors were encountered: