Hi, I created a library (~2kb) to share state between unrelated components and sync state to URL. Next.js14/15 with app router are supported, and react-router as well.
Unique features are:
can store complex nested objects
types of data are preserved
supports Typescript
API is very similar to useState
Works with Server Components, only dynamic rendering, obviously