¡GoConqr estrena diseño! Cuéntanos qué te parece.

Módulo 16 de 18 · Multimedia

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.

Instrucciones

Para avanzar en el curso, envía un intento de este test. Puedes enviarlo después de la última pregunta.

Ir al módulo elegido

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?