4. Redux Immer - immutable object modification solution for complicated object state

Описание к видео 4. Redux Immer - immutable object modification solution for complicated object state

‪@MissXing‬
In this video, we use user with address object as an example of complicated object as state, we'll experience nested spread. We use immer depenency to solve the problem by modifying draft state mutable which produce function will return new state based on the change on draft object.

Source code: https://github.com/TinaXing2012/React...

Комментарии

Информация по комментариям в разработке