HackerGit Trending Discord Star

asmyshlyaev177/state-in-url

Store any user state in query parameters; imagine JSON in a browser URL, while keeping types and structure of data, e.g.numbers will be decoded as numbers not strings. With TS validation. Shared state and URL state sync without any hassle or boilerplate. Supports Next.js@14-16, react-router@6-7, and Remix@2.

6 best points · 0 comments · 1 Hacker News post · 419 GitHub stars · View on GitHub

Hacker News discussions