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

feat: Allow clearing all search params managed by useQueryStates #622

Merged
merged 4 commits into from
Sep 1, 2024

Conversation

franky47
Copy link
Member

@franky47 franky47 commented Sep 1, 2024

By passing null instead of an object, every key managed by thatuseQueryStates hook will be cleared from the URL.

By passing `null` instead of an object, every key managed
by that`useQueryStates` hook will be cleared from the URL.
Copy link

vercel bot commented Sep 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nuqs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 1, 2024 9:01pm

@franky47 franky47 merged commit 4c335a5 into next Sep 1, 2024
16 checks passed
@franky47 franky47 deleted the feat/usequerystates-clear-all branch September 1, 2024 21:02
Copy link

github-actions bot commented Sep 2, 2024

🎉 This PR is included in version 1.19.0-beta.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Copy link

github-actions bot commented Sep 2, 2024

🎉 This PR is included in version 1.19.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant