Video: Development History of Zustand

Rate this content
Bookmark
The video explores the development history of Zustand, a state management library for React, and how it compares to Jotai, another library developed by the same creator. Zustand's unique approach lies in not using React context for state propagation, which sets it apart from many other state management libraries. The talk highlights the evolution of Zustand, with its initial release in April 2019 and subsequent improvements, including the use of the useSyncExternalStore hook in its latest version, enhancing concurrent rendering capabilities. Zustand's minimal API and small bundle size make it appealing for managing global state in React applications. The discussion also touches on the differences in state management models between Zustand and Jotai, with Jotai using atoms for state representation, avoiding selectors, and focusing on dependency tracking to optimize re-renders. The video also addresses the concept of Zustand derived state, the challenges of Zustand's infinite loop, and mentions the development of Zastad, a similar project.

This talk has been presented at React Summit 2023, check out the latest edition of this React Conference.

Daishi Kato
Daishi Kato
19 min
06 Jun, 2023

Comments

Sign in or register to post your comment.