State-in-url package for state management with URL sync
I spent some time to build an NPM package about state management (another one, I know) for Next.js/React.js. Idea: Storing web application state in URL, It's a bright idea to use URI, but there isn't a simple and good implementation. Can save state of forms, or filters, users can reload page or share the link. Demo to play around: https://state-in-url-asmyshlyaev177.vercel.app/ What I wanted to achieve and why The World need another library: - Storing complex objects, e.g. any valid JSON with nested fields. - Focus on Developer Experience and simplicity, API similar to…
What it does
In the maker’s words, at launch
I spent some time to build an NPM package about state management (another one, I know) for Next.js/React.js. Idea: Storing web application state in URL, It's a bright idea to use URI, but there isn't a simple and good implementation. Can save state of forms, or filters, users can reload page or share the link. Demo to play around: https://state-in-url-asmyshlyaev177.vercel.app/ What I wanted to achieve and why The World need another library: - Storing complex objects, e.g. any valid JSON with nested fields. - Focus on Developer Experience and simplicity, API similar to React.useState. - Preserve type of every field, e.g. string|number|boolean|etc, Typescript obviously. - All my SE experience and best practices, CI/CD pipeline, proper tests, design patterns, JSDoc comments and documentation, so just showcase my skills and possibly get a good job. - Support Next.js 14/15 and React-router@6, also few hooks that don't depend on specific framework. Will be glad to hear feedback and your thoughs, don't forget to star a repo and/or share it somewhere if it's useful.
Does the same job
all alternatives →
- TSThe simplest React state manager now at stable release2021 · simpler-state.js.org · ▲96
- SSSimpleR State – simple state management for React2021 · github.com · ▲43


- DSDead simple state management for React2018 · github.com · ▲8
More dev tools this month
the category →



Open-source GTM skills for technical founders
Dev tools · 29d ago · gtmcofounder.com

OpenTrailPaper is open-source bike computer firmware for the LilyGO T5S3 4.7" E-Paper PRO. It supports offline maps, GPX routes, FIT recording and Bluetooth sensors.
Dev tools · 1d ago · opentrailpaper.com

Launched alongside, October 2024
the whole month →


Softr for Notion▲925Turn Notion databases into portals & apps with no code
Dev tools · 2024 · softr.io

One inbox for all your work discussions
Work · 2024 · generalcollaboration.com