GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Modul 16 von 18 · Medien

Withdrawing and Finalizing the project

Kostas Diakogiannis

Withdrawing and Finalizing the project

Finalizing and withdrawing

By applying exactly the same functionality we did for making a deposit, we create another component, dispatch it's withdraw prop to the withdrawAction and return out of it a new container component, which will be put inside the App component's render function exactly as the code shows above. 

Be careful not to name your functions the same if they are inside the same file.

At the end of it anything should work and you should have two buttons, that each either adds or subtracts from the total balance. Without any local state and without caring about the component's parent-child-sibling hierarchy structure. Good Job!

At the end the result should be something like that.

Anleitung

Um im Kurs weiterzukommen, sende einen Versuch dieses Quiz ab. Du kannst ihn nach der letzten Frage absenden.

Zum gewählten Modul

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck