[v6]: How to use history listen and prevent page jump? #8624
-
What is the new or updated feature that you are suggesting?
Why should this feature be included?as above |
Beta Was this translation helpful? Give feedback.
Answered by
ryanflorence
Nov 3, 2022
Replies: 2 comments
-
Is there a plan for the second question? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Scroll restoration is now built in to React Router in v6.4 :) https://reactrouter.com/en/main/components/scroll-restoration |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
ryanflorence
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Scroll restoration is now built in to React Router in v6.4 :)
https://reactrouter.com/en/main/components/scroll-restoration