Rewriting Hexlet's editor from JS to TS: challenges, results and statistics
summary
A talk about rewriting a production Hexlet training app from JavaScript to TypeScript: it explains why the team migrated, what benefits TypeScript provided and what it didn’t, the difficulties encountered during the migration, and which problems were eliminated. The presenter shares concrete migration experience and statistics that allow a near-experimental comparison between the JS and TS versions of the same project.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 3:13Editor history and TS migration
- 12:30Next.js to Fastify challenges
- 17:39Fastify with Vite for SPA
- 20:29TypeScript and ESLint setup
- 24:18Webpack to Vite migration
- 26:27Dual TS config
- 28:51Jest to Vitest transition
- 31:40TypeScript benefits with examples
- 35:33TypeScript limitations
- 38:22Code stats comparison
- 40:53Conclusion
- 43:38Library compatibility issues
- 44:22Q&A
related talks
24mTypeScript and how I've learned to love the compiler
20mTypeScript and ES6
27mHow I Learned to Stop Worrying and Love TypeScript
36mTypeScript fundamentals
27mMatthew Gerstman - TypeScript: Seeing Past the Hype
12mHow TypeScript Ruined My Life (In a Good Way)
27mLessons Learned Converting Snyk Codebase to TypeScript
38mPorting 100K lines of code to TypeScript
