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.

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay