Why I Moved Away from TypeScript in My React Projects and Where I Went
summary
The talk examines pain points of using TypeScript in React applications, explains what the author wanted from typing that TypeScript failed to provide, and presents alternatives such as ReScript and BuckleScript. It walks through a project case study about the cost of type errors, shows how ReScript integrates with React (including usage trade-offs and interop with third-party libraries), and mentions tools like Gentype and patterns for dealing with untyped libraries (e.g., lodash any-types).
AI-written summary · about
chapters (8)
- 0:00Start
- 6:37About TypeScript
- 12:05The Story of One Project: The Cost of a Mistake
- 22:58About React. Why I Love React?
- 32:00ReScript
- 46:16Gentype
- 48:29How Much 'any' is in lodash?
- 52:48How Hard Is It to Use Third-Party Libraries When Writing in ReScript + React?
related talks
44mWhy I Stepped Away from React in My TypeScript Projects and Where I Went
30mLevel Up Your React With TypeScript
01h 25mWorkshop: TypeScript Plus React = Love
27mMatthew Gerstman - TypeScript: Seeing Past the Hype
12mHow TypeScript Ruined My Life (In a Good Way)
23mTypeScript + React = ❤️
57mTypeScript for React developers
49mTypescript + React
