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
На этой странице сайта вы можете посмотреть видео онлайн 10/10 React, TypeScript, and TDD Tutorial: Presentation Components длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь JetBrains 27 Январь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,727 раз и оно понравилось 47 зрителям. Приятного просмотра!