Ohans Emmanuel
Jun 25, 2020 ⋅ 5 min read

Introducing Recoil: Simplified state management for React

Ohans Emmanuel Visit me at ohansemmanuel.com to learn more about what I do!

Recent posts:

Exploring Advanced Support For Vite 5 In Storybook 8

Exploring advanced support for Vite 5 in Storybook 8

Explore the latest updates in Storybook 8, focusing on its improved support for Vite 5 as a build tool.

Will Soares
Jun 20, 2024 ⋅ 5 min read
Exploring Angular 18's Redirectcommand Class And Let Block

Exploring Angular 18’s RedirectCommand class and @let block

Angular’s latest update brings greater control over redirects and the ability to define and assign variables within the template.

Lewis Cianci
Jun 19, 2024 ⋅ 6 min read
Showing Progress For Page Transitions In Next Js

Showing progress for page transitions in Next.js

Progress bars help create a smooth UX during page transitions in your Next.js app, informing users that their request is processing.

Elijah Agbonze
Jun 19, 2024 ⋅ 9 min read
Qwik Adoption Guide Overview Examples And Alternatives

Qwik adoption guide: Overview, examples, and alternatives

Qwik’s focus on performance, innovative features, and commitment to DX make it a fantastic choice for building high-performance web apps.

Fimber Elemuwa
Jun 18, 2024 ⋅ 10 min read
View all posts

10 Replies to "Introducing Recoil: Simplified state management for React"

  1. Nice job mate. Can you add a post for the real world? fetching api -> set the response data to global state store -> render the result etc. E2E!

  2. It depends. Recoil should be easy to pick up, but for now you may be better off learning Redux first.

  3. I started looking into redux, but storing only a single variable was so complex that I thought it was not worth it and probably creates more headbreaking bugs than it solves.

  4. Wow, have you looked at recoil-outside?: https://www.npmjs.com/package/recoil-outside It let’s you use state variables in regular javascript functions. This tool came out just 2 months ago and is a lifesaver! I just started with react. As a beginner (comming from C/C++ programming), not being able to use state-variables in an easy way was frightening as hell! Now I can get back in my comfort-zone. I don’t know what hardcore evangelists or functional programmers will say about this new development (or if it is stable for critical software), but I love it!

Leave a Reply