Easily share complex states between unrelated React components, with IDE autocomplete and TS validation. Without any hassle or boilerplate. state-in-URL Simple state management with optional URL sync. Share complex states between unrelated React components, TS-friendly, NextJS compatible. Most users don't care about URLs, so, can use them to store your app state.
Features
- Store unsaved user forms in URL
- No providers, reducers, boilerplate or new concepts, API similar to React.useState
- Preserves data types and structure, good developer experience with IDE suggestions, strong typing and JSDoc comments
- Separate hooks for Next.js and React.js applications, and functions for pure JS
- Unit tests and Playwright tests, high quality and support
- Minimal rerenders
- Zero dependencies for a smaller footprint
Categories
CommunicationsLicense
MIT LicenseFollow state-in-url
You Might Also Like
Gen AI apps are built with MongoDB Atlas
MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of state-in-url!