Infinite Scrolling to Detail View and Back #1066
taekyeomlee
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to share my experience and examples.
The primary challenge was maintaining the scroll position when a user selects an item on the list page, navigates to its detail page, and then returns.
Third-Party Integrations
@tanstack/react-query
5.29.0 (for Infinite Scrolling)react-router-dom
6.22.3 (for Page Routing)recoil
0.7.7 (for Scroll Position Management)Feel free to adjust the libraries according to your project's specific needs.
codesandbox
Beta Was this translation helpful? Give feedback.
All reactions