Infinite scrolling without changing URL query parameters #2318
MohammadZarifiyan
started this conversation in
Ideas
Replies: 1 comment
-
As of 2.0.9 to implement infinite scroll with WhenVisible you need to customise the visit options with the <WhenVisible
params={{
only: ['results'],
data: {
page: results.current_page + 1
},
preserveUrl: true,
}}
always={results.current_page < results.last_page}
/> |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there
I'm using
WhenVisible
component anddeepMerge
to perform an infinite scrolling system.It would be really helpful if browser URL query params didn't change after scrolling.
Beta Was this translation helpful? Give feedback.
All reactions