~/talk

Typing Beyond Code: Agreements Between Layers

TalkinRussianat HolyJS 2026 Spring · 2026-05-14..05-15· [typescript, frontend-architecture]
links:none on file
slides:none on file

Describes applying TypeScript-style typing beyond code boundaries in a frontend layered architecture: typing routing models with inferred params, exporting design tokens and icons safely from Figma, checking CSS Modules/variables, typing i18next, ENV configs, feature flags, API contracts and MobX as a central layer. Covers which tasks TypeScript handles natively vs where custom scripts, extended library types and extra tools were needed, shows runtime demos, and discusses scalability limits when excessive typed information slows compilation/linting and engineering practices to mitigate that.

AI-written summary · about

  1. 0:00Introduction
  2. 2:10Typization matters
  3. 4:39Common Utils layer
  4. 6:46Design and code boundary
  5. 8:14CSS tokens in Figma
  6. 10:05CSS variables without TS
  7. 12:15Typed CSS Modules
  8. 13:58Source maps for styles
  9. 15:42Canvas and theme tokens
  10. 16:24Typed Playwright locators
  11. 18:30API contracts and adapters
  12. 20:40MobX stores with TS
  13. 22:48Base Store with generics
  14. 24:14React Query integration
  15. 25:42Safe routing with types
  16. 28:12Simplified router setup
  17. 30:23TypeScript performance impact
  18. 32:04Storybook mocks with MobX
  19. 33:08Typed i18n keys
  20. 37:12Icon fonts from Figma
  21. 39:18Feature toggles and types
  22. 41:48TypeScript memory costs
  23. 42:51Summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.