You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current name is a bit unfortunate for this, but it would be nice if this library was generic over both FormData and URLSearchParams so you could do this:
Thank you for creating this issue. This is already on my todo list, but it will probably be a while before I find the time to work on it, as I am currently focused on Valibot.
I am actually already using this for both searchParams and formData, its a bit of a hack at the moment where I convert searchParams into formData with a for loop.
If you can point me in the right direction, can create a PR with a provide implementation of it
We should probably work on a native decode-params library with a similar API and implementation as decode-formdate. We can work together if you are interested.
The current name is a bit unfortunate for this, but it would be nice if this library was generic over both FormData and URLSearchParams so you could do this:
You may then also want to support some more of the syntaxes commonly used in search params. See https://www.npmjs.com/package/qs for some examples
The text was updated successfully, but these errors were encountered: