Back to projects
DevTools

state-in-url

Store any user state in query parameters; imagine JSON in a browser URL, while keeping types and structure of data, e.g.numbers will be decoded as numbers not strings. With TS validation. Shared state and URL state sync without any hassle or boilerplate. Supports Next.js@14-16, react-router@6-7, and Remix@2.
asmyshlyaev177
asmyshlyaev177
Maintainer
418 stars
Go to website ↗View on GitHub
state-in-url repository preview
About this project
Store any user state in query parameters; imagine JSON in a browser URL, while keeping types and structure of data, e.g.numbers will be decoded as numbers not strings. With TS validation. Shared state and URL state sync without any hassle or boilerplate. Supports Next.js@14-16, react-router@6-7, and Remix@2. Maintained by asmyshlyaev177 on GitHub, where it has earned 418 stars from the community.
It's actively developed around client-components, deep-links, encoder-decoder, and is a solid reference for anyone building with these tools.
Tags
Install
npm install state-in-url
Languages
JavaScript87.888%
TypeScript10.804%
CSS1.278%
HTML0.031%
Last updated2 weeks ago
LicenseMIT
More React projects
R
Made with React
RSSLLMmadewithwhat

Ask MadeWithWhat

AI answers may contain mistakes — please double-check important details.