19 - React - Js (Redux)
19 - React - Js (Redux)
React Js
Redux
Redux Modern
(management global state)
Redux is a State Management application that provides a store for the states
within components in a web application.
▪ Redux Toolkit
Redux Toolkit is the official Redux package that provides tools to simplify and accelerate development with Redux
▪ createSlice
createSlice is a function from Redux Toolkit that allows you to create slice reducers more easily and declaratively.
▪ configureStore
configureStore function that simplifies Redux store configuration. This function automatically integrates Redux
middleware like Redux Thunk to handle asynchronous actions, eliminating the need to manually set up middleware.
▪ createAsyncThunk
createAsyncThunk allows easy handling of asynchronous actions in Redux
Redux AsyncThunk
(for communication with API)
Any question?
GUIDING RESOURCE
https://redux.js.org/
https://redux.js.org/tutorials/fundamentals/part-8-modern-redux