Let’s continue to learn Recoil for async usage.
Please see the comments on important lines.
For me, useRecoilCallback didn’t work.
With this article, I will stop sharing Recoil examples, of course temporarily.
After a couple of days of investigating, I found some result:
- Yes, it’s interesting, and it’s obviously new way to manage store.
- Yes, it’s worth to learn, and you can use Recoil along with Redux.
- Yes, it’s simple more than
Redux
, you don’t need to structure store files in a complex hierarchy. - The learning curve is low.
- Recoil is being improved actively, there are things to do more.
You can find the whole source code here:
Sorry, the comment form is closed at this time.