Jon Laing

Product Engineer
  • About
  • Blog
  • Contact

Always human authored · no generative AI

March 2, 2026

Type-Safe Routing

  • effex
  • typescript
  • routing

Type-Safe Routing

A route should know what it needs and what it produces.

Params to the component

Route.make("/blog/:slug") threads the slug param and the loader’s data type straight through to render — no casts, no guessing.

← PreviousChoreographing AnimationsNext →Designing in Code
← Back to all posts
Built with my frontend framework:Effex ↗