DEV Community

Alex
Alex

Posted on

A library to sync state between Next.js components and URL

Image description

Can sync state between unrelated components and optionally save it to URL, difference from other solution is that can store complex objects, and Typescript autocomplete/validation.

Perfect for saving forms data.

Check it out and support project with a ⭐️
https://github.com/asmyshlyaev177/state-in-url

Top comments (1)

Collapse
 
isaachagoel profile image
Isaac Hagoel

Interesting idea! maybe add the "Why" section from github to this post.