Add option to clear query string when component is unmounted #663
Answered
by
atahanyorganci
atahanyorganci
asked this question in
Ideas
-
Clearing when the query string when the component that uses the state can help with keeping the URL clean. This is extra important for caching behavior of Next.js. For example if a user navigates to |
Beta Was this translation helpful? Give feedback.
Answered by
atahanyorganci
Oct 1, 2024
Replies: 1 comment 4 replies
-
This is easliy fixed on application code by |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
franky47
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is easliy fixed on application code by
useEffect
clean up function.