What if I told you that you could replace Redux with one line of code? What if I told you it was as easy as using useState and works just like it, except it's shared and does not depend on Redux, Context, or any other library?
What if I told you it was high performant and less than 3k?
See the demo
Click [more] when you get there and add as many React components as you like, they instantly share state.
But seriously, why are you still reading this post… git'r done
It's called ez-sync-js https://www.npmjs.com/package/ez-sync-js
https://github.com/chadsteele/sync
Originally published at https://dev.to on February 27, 2021.