-
-
Notifications
You must be signed in to change notification settings - Fork 68
Open
Labels
triagePending triage by a maintainer to give it proper labelsPending triage by a maintainer to give it proper labels
Description
Describe the feature in detail (code, mocks, or screenshots encouraged)
An option that, if enabled, serializes arrays using the browser's native multiple-search-parameter support. This might be a boolean, or an iterable of affected keys.
const schema = v.object({
regions: v.optional(v.fallback(v.array(v.picklist([ "na", "eu", "ocx" ])), []), [])
})
const params = useSearchParams(schema, { useAppendedArrays: true })
// can now handle ?region=na®ion=euWhat type of pull request would this be?
Enhancement
Provide relevant links or additional information.
zeing
Metadata
Metadata
Assignees
Labels
triagePending triage by a maintainer to give it proper labelsPending triage by a maintainer to give it proper labels