Skip to content

[v6]: How to use history listen and prevent page jump? #8624

Closed Answered by ryanflorence
kingller asked this question in Q&A
Discussion options

You must be logged in to vote

Scroll restoration is now built in to React Router in v6.4 :)

https://reactrouter.com/en/main/components/scroll-restoration

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ryanflorence
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
3 participants
Converted from issue

This discussion was converted from issue #8621 on January 26, 2022 16:37.