Utilities
Utilities for working with query strings
Serializer helper
To populate <Link>
components with state values, you can use the createSerializer
helper.
Pass it an object describing your search params, and it will give you a function to call with values, that generates a query string serialized as the hooks would do.
Example:
Base parameter
The returned serialize
function can take a base parameter over which to
append/amend the search params: