9/10 React, TypeScript, and TDD Tutorial: Rich Events and Testing

preview_player
Показать описание
Add event handling to a stateful class component by first writing tests during development.

Contents:
00:23 - Write a failing test for responding to clicks
02:03 - Implement a click handler
06:48 - Implement shift click to advance by ten

Learn more and join us:

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

@4:00 Hmm, how can we write a test that would drive us to do the refactor of the incrementCounter function?

thefonsotube