Back to gallery
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
Maintainer
418 stars
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-urlMore Next.js projects