reusable icon indicating copy to clipboard operation
reusable copied to clipboard

Recoil

Open gev opened this issue 3 years ago • 3 comments

Hi!

What do you think about Recoil?

gev avatar Apr 11 '21 15:04 gev

Hey, Thanks for opening a discussion. Not really an issue in Reusable, so closing, but feel free to discuss

adamkleingit avatar Apr 11 '21 19:04 adamkleingit

We wrote Reusable to allow you to use hooks for managing your global state, which Recoil and other state management solutions don't support. Personally, I don't see an added value to Recoil over other popular state management solutions

adamkleingit avatar Apr 11 '21 19:04 adamkleingit

I just tested recoil for my project. Usually, I use a model like a store in the redux with dynamic keys for every item in the store (atoms in the recoil's terms). And I think that recoil adds a lot of problems during updating atoms when you don't know the atom's key before the update, for example, when to receive one via socket. Now use the reusable again. Before I used the redux with only one reducer and one action, which updated my simple store like an RDF tree. So I using redux not canonical for the redux manner and all redux's stuff is overhead too =). Likes the reusable is the best choice for me! =)

Thanks a lot!

gev avatar May 01 '21 15:05 gev