React Zustand Tutorial - 2. get(), set() and the immer middleware (typescript)

Conny Gu
Conny Gu
5.2 هزار بار بازدید - 12 ماه پیش - A deep dive tutorial series
A deep dive tutorial series on React,js Zustand - a State Management Library.

This video is about how to use the set() and get() functions in the global store in combination with the Immer middleware for updating deep nested states.

Github for this tutorial:
https://github.com/niftybytes4u/react...
(Please follow the commit history, each video is a commit. )

React Zustand github:  https://github.com/pmndrs/zustand
React Zustand documentation:  https://docs.pmnd.rs/zustand/getting-...
React Zustand update immutable state: https://docs.pmnd.rs/zustand/guides/i...
React Zustand immer middleware: https://docs.pmnd.rs/zustand/guides/u...

00:00 begin
00:27 how to use the set() function
10:00 immer middleware for updating deep nested states
12:31 how to use the get() function
12 ماه پیش در تاریخ 1402/04/20 منتشر شده است.
5,250 بـار بازدید شده
... بیشتر