Redux Toolkit Tutorial | Shopping Cart App Project using React Redux Toolkit

preview_player
Показать описание

Are you tired of writing boilerplate code for your Redux applications? Do you want to learn how to use the official, opinionated, batteries-included toolset for efficient Redux development? Then this video is for you!

In this video, we will teach you how to use Redux Toolkit, the standard way to write Redux logic. You will learn how to:

Set up your Redux store with configureStore(), which automatically combines your slice reducers, adds middleware, and enables the Redux DevTools Extension.
Write concise and immutable reducer logic with createReducer() and immer, which let you write “mutative” code that produces a new state.
Generate action creators and action types with createAction(), which simplifies the action creation process and reduces typos.
Create slices of state with createSlice(), which combines createReducer() and createAction() into one function that generates a slice reducer with corresponding action creators and action types.
Handle asynchronous logic with createAsyncThunk(), which generates a thunk that dispatches pending/fulfilled/rejected actions based on a promise.
By the end of this video, you will be able to write smarter and simpler Redux code with Redux Toolkit. You will also understand the benefits and trade-offs of using this toolset, and how it can make your Redux development experience more enjoyable.

If you are interested in learning more about Redux Toolkit, you can check out the official documentation1, the GitHub repository2, or some blog posts3 that explain its features and use cases.

====== Development guides ======

====== opendevs Links ======

Our website offers React course with practice problems & code submissions. Meanwhile we are working on bringing even more features like: code reviews, interviews, exclusive & bonus sessions, TA support, 1 on 1 mentorship, etc. as soon as possible. It's all free in BETA stage so please check it out!
Рекомендации по теме
Комментарии
Автор

I just completed all the redux videos.I just want to say you have explained amazingly every small details the best redux video. thanks a lot

PujaDas-feld
Автор

Bhaiya please upload more and more videos

rahularora