1 个仓库
Returns fallback values when URL query parameters are missing or invalid, simplifying UI rendering.
Distinct from Schema Default Values: Distinct from Schema Default Values: applies specifically to URL query parameters, not general data schemas.
Explore 1 awesome GitHub repository matching software engineering & architecture · URL Query Fallback Values. Refine with filters or upvote what's useful.
nuqs is a TypeScript library for managing React component state through the browser's URL query string. It provides a type-safe hook-based approach that synchronizes component state with the address bar, enabling shareable and bookmarkable application states. The library handles parsing and serializing URL query parameters into typed JavaScript values, supporting integers, floats, booleans, dates, and custom types with bijectivity verification. The library distinguishes itself through its comprehensive approach to URL state management, combining batch URL updates that merge multiple parameter
Returns a fallback value when the URL query parameter is missing or invalid, simplifying UI rendering and state updates.