Redux Tutorial #6 - Redux Async Actions
387 بار بازدید -
8 سال پیش
-
Async Actions with Redux are
Async Actions with Redux are a piece of cake...you just have to know what to do. Handling Ajax in Redux is as simple as firing off several actions: one for start, one for completion, one for error.
Dispatching multiple, synchronous actions allows your React layer to still be a 100% static representation of the state of your store. So React itself will never have any application state, only your store will. This is the biggest hangup of developing React/Redux applications - where do you keep state? On
8 سال پیش
در تاریخ 1395/11/23 منتشر شده
است.
387
بـار بازدید شده