Logo

state-in-url

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

Visit website
state-in-url product image

Store any user state in query parameters; imagine JSON in a browser URL, while keeping types and structure of data. Dead simple, fast, and with static Typescript validation. Deep links, aka URL synchronization, made easy.

Contains useUrlState hook for Next.js and react-router, and helpers for anything else on JS. Since modern browsers support huge URLs and users don't care about query strings (it is a select all and copy/past workflow).

Time to use query string for state management, as it was originally intended. This library does all mundane stuff for you.

Check out a demo https://state-in-url.dev

https://github.com/asmyshlyaev177/state-in-url

https://www.npmjs.com/package/state-in-url

Visit website

Best reward

Reward Badge
  • Launch Date

    2024-11-04
  • Category

    Development
  • Pricing

    Free
  • Socials

  • For Sale

    No

Upvoted by

🔥 Black Friday Deal! Get the Lifetime Launch Pass for $149 - Only 99/100 spots left!