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

Project Samples

Project Activity

See All Activity >

Categories

Communications

License

MIT License

Follow state-in-url

state-in-url Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

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.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of state-in-url!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript Communications Software

Registered

2024-10-03