Skip to content
S

state-in-url

Store any user state in query parameters; imagine JSON in a browser URL

Free

#9319in Developer Tools
0In stores

Description

URL state management for React: keep typed state in the query string, like useState. Survives refresh, every state is a shareable link, back…

Highlights

  • Typed state in URL
  • Framework agnostic hooks
  • Zero runtime dependencies
  • History-aware updates
  • Sync with form libraries
  • Server Component support

Ratings & Reviews

No ratings yet

Be the first to rate state-in-url.

People also visit

N

nuqs

Type-safe URL search params for React

Developer Tools
Launch
R

react-state-management

State management with Zustand, Jotai and React Query

AI Skills
Get
N

nuqs

Nuqs (type-safe URL query state) best practices for Next.js

AI Skills
Get
Z

zustand-state-management

Build type-safe global state in React with Zustand

AI Skills
Get
N

Nucleux

React state management that doesn't suck

Developer Tools
Launch
N

nuqs

Custom parsers, adapters and utilities from the community

UI Libraries
Launch

state-in-url FAQ

What is state-in-url?

URL state management for React: keep typed state in the query string, like useState. Survives refresh, every state is a shareable link, back button works. Next.js, React Router, Remix, Astro.

Is state-in-url free?

Yes. state-in-url is free to use.

What can you do with state-in-url?

Main features: Typed state in URL, Framework agnostic hooks, Zero runtime dependencies, History-aware updates, Sync with form libraries.

What are the best state-in-url alternatives?

Popular alternatives to state-in-url include nuqs, Nucleux and SimpleR State. See all state-in-url alternatives

Developer Stuff

Badges