Slices | createSlice | Redux Toolkit Introduction | React

preview_player
Показать описание
Learn how you can simplify the boilerplate code of Redux to that maximum by using createSlice() to create "slices" of state, which combines the createAction() and createReducer() into one. Part of the Redux Toolkit Introduction series.

Follow me:
Рекомендации по теме
Комментарии
Автор

Amazing playlist, Raul Terhes! I'm highly recommending these videos to everyone who want to know how to use a redux-toolkit library! Very, very clear and simple explanation of the topic. Maybe the last thing for covering should be: How to make async actions using redux-thunk with toolkit?

simeonieroteev
Автор

Thanks a lot for your clear explanation...! Good luck!

dushananuradha
Автор

So we can also make the fetch request in the slices ? Or where

Franco
Автор

what about action that accept two parameter, ex: id, details

markaguilar
Автор

Hello Raul, Please how can we clear the input fields in the form, after adding a book?

stanleyagwu
Автор

With book.push you are mutating the state, which is a no in redux, or does slice allow that?

Elator