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
Other Useful Business Software
MongoDB Atlas runs apps anywhere
MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of state-in-url!