Follow the React pattern of container/presentation components by refactoring the code and tests.
Contents:
00:23 - Convert the Counter into stateless functional component
03:12 - Pass in a click handler function
08:30 - Simplify the connection between parent and child component
10:14 - Update the main App component to manage the state and provide handler
12:58 - Write tests to confirm App handles clicks and state
Learn more and join us:
Blog: https://jb.gg/j927y6
Website: https://jb.gg/b8vuc5
Twitter: / webstormide
Tips and Tricks: https://www.jetbrains.com/webstorm/guide
Category: #webstorm, #webstormtutorial, #javascript
Nesta página do site você pode assistir ao vídeo on-line 10/10 React, TypeScript, and TDD Tutorial: Presentation Components duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário JetBrains 27 Janeiro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,727 vezes e gostou 47 espectadores. Boa visualização!