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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

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.
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