-
-
Notifications
You must be signed in to change notification settings - Fork 135
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(serializer): allow null
to clear all param values from base
#657
Conversation
@neefrehman is attempting to deploy a commit to the 47ng Team on Vercel. A member of the Team first needs to authorize it. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
praise: LGTM, thanks!
I wish the GitHub suggestions UI could do this..
🎉 This PR is included in version 1.20.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
##### [`v1.20.0](https://github.com/47ng/nuqs/releases/tag/v1.20.0) ##### Features - Allow remapping keys in useQueryStates ([#671](47ng/nuqs#671)) ([79f80da](47ng/nuqs@79f80da)) - **serializer:** allow `null` to clear all param values from base ([#657](47ng/nuqs#657)) ([0e7395e](47ng/nuqs@0e7395e)) - Thanks [@neefrehman](https://github.com/neefrehman) !
##### [`v1.20.0](https://github.com/47ng/nuqs/releases/tag/v1.20.0) ##### Features - Allow remapping keys in useQueryStates ([#671](47ng/nuqs#671)) ([79f80da](47ng/nuqs@79f80da)) - **serializer:** allow `null` to clear all param values from base ([#657](47ng/nuqs#657)) ([0e7395e](47ng/nuqs@0e7395e)) - Thanks [@neefrehman](https://github.com/neefrehman) !
Follow-up to #653, this PR allows callers to pass
null
to a serializer instance to clear any search params frombase
.