GoConqr has a new look! Let us know what you think.

Module 13 of 18 · Media

The App Component

Kostas Diakogiannis

The App Component

Configure our App Component

Above by taking a look at the code you can see how the App  component's structure will be. 

A heading that will depict a value from props. And two other components, that they include button to change the state. 

The first thing we must do is to connect the cashier prop of the component to the balance property of the centralized state in our redux.js. So any time this balance property changes, the cashier prop changes, so the heading depicts a different value.

Let's see how we can connect a component's props, to redux's state!

 

Instructions

You must submit an attempt for this quiz to progress. You can submit it after the last question.

Go to the chosen module

Feedback

What is it about?

What do you think of the new look?

How do you like it?