8/10 React, TypeScript, and TDD Tutorial: Class State

preview_player
Показать описание
Make a very simple class component with local counter state, then make a type definition for that state.

Contents:
00:19 - Write a failing test for a stateful counter
03:56 - Add readonly type information for the state
06:18 - Provide a starting value
09:46 - Wire into the UI

Learn more and join us:

Category: #webstorm, #webstormtutorial, #javascript
Рекомендации по теме