Action creator functions are automatically generated
13
Immer.js is active in createSlice
14
AddPostForm component
15
Saving a New Post
16
Move state formatting to a prepare callback
17
Redux Devtools
18
Create a usersSlice
19
Import the usersReducer into the store
20
Modify the prepare callback in postsSlice
21
Modify the AddPostForm component
22
PostAuthor component
23
Import PostAuthor into PostsList
24
Install date-fns dependency
25
Handling date data in postsSlice
26
TimeAgo component
27
Import TimeAgo into PostsList
28
Display most recent post first
29
Adding reaction data to the postsSlice
30
ReactionButtons component
31
Import ReactionButtons into PostsList
Description:
Learn Redux Toolkit through a hands-on React Redux example project. Explore app structure and data flow while building a simple application. Start with creating a posts slice and adding it to the store. Implement a PostsList component and create a posts selector. Add functionality to save new posts using a prepare callback. Utilize Redux Devtools for debugging. Create a users slice and modify the posts slice to include user data. Implement PostAuthor and TimeAgo components to display post metadata. Add reaction functionality to posts and create a ReactionButtons component. Follow along to gain practical experience with Redux Toolkit in a React.js environment.