Daishi Kato
I am a freelance programmer based in Tokyo. I work on Zustand core team and various open source projects primarily with JavaScript and React. Author of Jotai: https://jotai.org, valtio, etc. https://contact.axlight.com
Jotai Atoms Are Just Functions
React Day Berlin 2022React Day Berlin 2022
22 min
Jotai Atoms Are Just Functions
Jotai is a state management library. We have been developing it primarily for React, but it's conceptually not tied to React. It this talk, we will see how Jotai atoms work and learn about the mental model we should have. Atoms are framework-agnostic abstraction to represent states, and they are basically just functions. Understanding the atom abstraction will help designing and implementing states in your applications with Jotai