Optional
serializer for the query params. given the query params and the url, it should return the serialized url with the query params added
URLSearchParams-based serializer, preserving all existing query params
URLSearchParams
`serialize({ a: 123, b: 'hello' }, 'https://example.com/api') => 'https://example.com/api?a=123&b=hello'` Copy
`serialize({ a: 123, b: 'hello' }, 'https://example.com/api') => 'https://example.com/api?a=123&b=hello'`
serializer for the query params. given the query params and the url, it should return the serialized url with the query params added