Monday, May 6, 2019

Create React app with Redux

In our previous blog post we create a basic react application. In this post, we will continue with that app. First we will integrate Font Awesome with our application.
Next we will add the actions for students.
Add the StudentForm file like below.
Modify the StudentList file by adding mapStateToProps and mapDispatchToProps.
Finally modify the student reducer file like below.
In your app, when you select a student, it will automatically update the student information section.
You can download the source code for this application from GitHub.

No comments:

Post a Comment