Stores are important in Redux. In this video, learn what they are, how to use them, and then create your first store.
- [Instructor] The React reducers … specify how the application's state changes. … Now, it's important to know that the actions … that we created on the last part … can describe only what happens. … But they don't describe how the application's state changes. … So, let us go to Visual Code and create our reducer. … In here I will go to the Explorer, … and then inside src folder, … I'll create a new folder for reducers. … So I'll just name it reducers. … Then inside this folder, let us create a new file … named tripReducers.js. … The first thing that we need to do at the top … is that we need to import all the actions. … So I'll just write in here import, … and then I'll import the GET_ALL_TRIPS_REQUEST. … So, that's going to be from, … you write dot dot to go a step back, … then actions/tripActions. … So get the GET_ALL_TRIPS, … then we'll get the GET_ALL_TRIPS_SUCCESS … and the GET_ALL_TRIPS_ERROR. … Now, let us define the initial state of our app. … So for that, we can just write … const INITIAL_STATE …
- Setting up the app infrastructure
- Creating data models
- Creating, reading, updating, and deleting API endpoints
- Testing API endpoints using Postman
- Reading data from React
- Adding new data from React
- Handling errors
- Implementing Redux in an existing React app
- Implementing authentication in your React app
Skill Level Intermediate
Managing App Secrets in .NET Corewith Ervis Trupja28m 15s Intermediate
1. Setting Up the App Infrastructure
2. Setting Up Web API
3. Getting Started with React
4. Implementing Redux to an Existing React App
5. Implementing Authentication in Your React App
Where to go next44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.