~/talk

Rewriting Hexlet's editor from JS to TS: challenges, results and statistics

TalkinRussianat HolyJS 2024 Spring · 2024-04-15..04-27· [typescript, frontend-architecture]
slides:none on file

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

  1. 0:00Introduction
  2. 3:13Editor history and TS migration
  3. 12:30Next.js to Fastify challenges
  4. 17:39Fastify with Vite for SPA
  5. 20:29TypeScript and ESLint setup
  6. 24:18Webpack to Vite migration
  7. 26:27Dual TS config
  8. 28:51Jest to Vitest transition
  9. 31:40TypeScript benefits with examples
  10. 35:33TypeScript limitations
  11. 38:22Code stats comparison
  12. 40:53Conclusion
  13. 43:38Library compatibility issues
  14. 44:22Q&A
~/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.