

TypeScript, Wayfinder, and Ranger with Joe Tannenbaum
12 snips Sep 22, 2025
Joe Tannenbaum, an open-source lead engineer at Laravel and creator of Wayfinder and Ranger, discusses how Wayfinder generates TypeScript for Laravel routes to enhance type safety and developer experience. He explores the benefits of TypeScript, shares insights on static analysis for performance improvement, and offers coding tips for seamless integration. Joe also introduces Ranger, a new tool for app discovery that leverages static analysis to optimize Laravel apps. Discover how these innovations can transform your coding workflow!
AI Snips
Chapters
Transcript
Episode notes
TypeScript Routes For End-To-End Safety
- Wayfinder generates TypeScript/JavaScript for your Laravel routes so client code can import strongly-typed route helpers.
- This creates end-to-end type safety between Laravel backend routes and frontend code.
Controller-Level Linking Beats Route Names
- Wayfinder links to controllers and methods (not just named routes), reflecting server code directly in the client.
- You can import controller methods so client-side changes mirror backend changes automatically.
Import Precisely To Keep Bundles Small
- Import only the specific controller method you need to keep your client bundle small.
- Let tree shaking remove any unused route definitions from the final bundle.