Custom React hook to manage and update URL search parameters dynamically.
This hook provides an enriched searchParams object along with a function
to modify search parameters while ensuring changes are applied only when necessary.
Example
// Using the hook inside a component const [searchParams, enrichSearchParams] = useEnrichSearchParams();
Custom React hook to manage and update URL search parameters dynamically.
This hook provides an enriched
searchParamsobject along with a function to modify search parameters while ensuring changes are applied only when necessary.Example