O GoConqr está de visual novo! Conte para nós o que você achou.

Módulo 16 de 18 · Mídia

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.

Instruções

Para avançar no curso, envie uma tentativa deste quiz. Você pode enviá-la depois da última pergunta.

Ir para o módulo escolhido

Fale Conosco

Sobre o que é sua mensagem?

O que você acha do novo visual?

Você gostou?