What is Jotai?
As mentioned in the previous section, Jotai is an atomic-type state management library, created by a developer named Daishi Kato, as part of the Poimandres open source developer collective. I asked Daishi Kato a few questions through Twitter, and he was nice enough to answer me. The first question I had was why he decided to create Jotai. He said: “I have been creating various global state libraries, to eliminate necessity of memoizing selectors. One notable one is react-tracked, which is heavily depending on proxies. I noticed proxies don’t work best for many cases and wanted another solution. Recoil’s model is a best match for this. So, to solve my problem, I developed Jotai.” As simple as that! He added that maintaining the various state management libraries he created takes about half of his time, leaving the rest to do freelance work. Daishi said he likes working most with Jotai and Valtio as they have unique features. “Zustand...