Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use setSearchParams after setTableURLState to ensure updates are not overriden by setTableURLState. #45500

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

tirkarthi
Copy link
Contributor

Ref : #45095 (comment)

It seems setTableURLState also uses setSearchParams and the updates to setSearchParams before setTableURLState get overridden inside the setTableURLState call. This looks similar to a reported issue where multiple calls to setSearchParams seem to be not safe remix-run/react-router#9757 .

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Jan 9, 2025
@Mizokuiam
Copy link

Thank you for raising this issue! I'll look into it and try to help if I can.

@bbovenzi bbovenzi merged commit 9f74a65 into apache:main Jan 9, 2025
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants