~/talk

Productive React/TypeScript/TDD: Love Story from Hell

Talkat Silicon Valley Code Camp 2018 · 2018-10-13..10-14· [react, typescript, testing]
slides:none on file

Walks through a working React+TypeScript project scaffolded with create-react-app (typescript fork), run inside WebStorm, using Jest + Enzyme for TDD, showing shallow vs mount tests, Node and Chrome debugging of tests, and TypeScript interfaces for props and defaultProps. Demonstrates event handlers as arrow-function class fields to preserve this, writing failing tests first, fixing types/implementation, and rerunning fast in the IDE so the tests pass and the app stays green.

AI-written summary · about

  1. 0:00Start
  2. 0:40Who Does React and Typescript
  3. 5:17Create React App
  4. 9:07Npm Run Script
  5. 9:51Webstorm
  6. 11:58Adjust Configuration
  7. 17:50Single Responsibility Principle
  8. 18:13Linting
  9. 19:16Testing
  10. 21:57Why Fail in Production
  11. 24:00Tdd Basics
  12. 25:47Enzyme
  13. 26:20Shallow Renderer
  14. 39:35Arrow Function
  15. 44:25Heading Component
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.