Conteúdo do Curso
Introduction to Redux
Introduction to Redux
The Application
The application which we will create is going to be like this:
We will be able to create new posts, and they will appear on the screen accordingly:
Note that the post also mentions Default User as the author. It is from the Name field on the left side.
We can change the name and create a new post, registering that name as a new user and incrementing the Users in the App section.
We can also see the number of posts by a User, and the Total Posts, on the left side.
These are different components, yet they can access data from a single store. This is possible using Redux.
The application is available in sandbox form below:
Obrigado pelo seu feedback!