Загрузка...

Handling Custom Actions In Redux Slices With extraReducers

In this short video, Chirag (@ChiragK21239947) from #EPAM adds the extraReducers property to a slice. This allows the slice to handle actions that were not generated automatically, but were created externally. With the Builder API, cases can be defined on the reducer for each Promise lifecycle action creator: pending, fulfilled and rejected. Additionally, TypeScript-wise, the Builder API provides correctly typed reducers from the action creators.

To learn more about building #ASPNetCore and #React apps with TypeScript and C#, check out the Fullstack ASP․NET Core with React Masterclass.

https://www.newline.co/courses/newline-guide-to-fullstack-asp.net-core-and-react

Download our free "30 DAYS OF REACT" book here to advance your knowledge of React.js and JavaScript:

https://www.newline.co/fullstack-react/download/30-days-of-react/

Видео Handling Custom Actions In Redux Slices With extraReducers канала newline
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки