Summary
In this chapter, we learned about a library called Jotai. It's based on the atomic model and Context. We've seen simple examples to learn its basics, yet they show the flexibility of the atomic model. The combination of Context and Subscription is the only way to have a React-oriented global state. If your requirement is Context without extra re-renders, this approach should be your choice.
In the next chapter, we will learn about another library, called Valtio, which is a library primarily for module state, with a unique syntax.