
To better understand redux toolkit unless you know how redux works
Explore how Redux works by tracing actions through dispatch to the store, the reducer logic, and how deposits update balances and refresh the user interface.
Install Redux Toolkit and set up the environment, focusing on the core library before React bindings, and create a counter app to learn the create action and basic setup steps.
Build a counter app with Redux Toolkit, compare it to core Redux, and learn createAction by defining increment, decrement, reset, and increment_by actions with payloads.
configure a redux toolkit store with configureStore, wire the counter reducer, dispatch increment, decrement, and amount-based actions, inspect state with getState, and install a third party package like redox logger.
Explore a redux toolkit createSlice demo building a counter slice with initial state and reducers. Discover generated actions, store configuration, and dispatch increments, decrements, resets, and increment by amount.
Learn to handle createAsync actions in a Redux Toolkit slice using extraReducers, managing the lifecycle with pending and rejected cases to update loading, post, and error states.
Install redux toolkit, axios, and react-redux to scaffold a redux-enabled react app. Create redux folders, define a post slice, set up the store, and create a utils api folder.
Connect the RTK store to a React app using the React Redux binding and the provider, enabling useSelector and dispatch to manage and fetch posts from the store.
Course description:
This course is all about managing the state in react application using the redux toolkit. Each topic included in this course is added incrementally, to make sure that you have a solid foundation of knowledge. You'll find plenty of discussions added in to help you understand exactly when and where to use each feature of React and Redux.
What's imcluded?
- How redux works
- Common Redux Toolkit APIs
- Definition of the redux toolkit
- Why and importance of using redux toolkit?
We will take a look at the most common API in the redux toolkit that you may for next project. These API or concepts in redux toolkit are
- createStore() – For creating redux store
- CreateAction() – It’s use for creating redux action
- CreateReducer() – it’s used for creating redux reducer
- CreateSlice() – This makes creating slices easily by combining createAction and creatReducer
Who this course is for:
Programmers looking to master redux toolkit
Developers who want to move from the traditional way of writing redux application
Engineers who have researched React but have had trouble mastering some concepts
React is the most popular Javascript library of the last five years, and the job market is still hotter than ever. Companies large and small can't hire engineers who understand React and Redux fast enough, and salaries for engineers are at an all time high. It's a great time to learn how to manage state in react