Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære The Application | Creating a React-Redux Application
/
Introduction to Redux

bookThe Application

Stryg for at vise menuen

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:

question mark

Why do we use Redux in this application?

Select the correct answer

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 4. Kapitel 1

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Sektion 4. Kapitel 1
some-alt