Have your cake and eat it too with Inertia.js
summary
Claims that Inertia lets a server-driven SPA keep routing and data fetching on Laravel while the UI lives in Vue/React, demonstrated with a posts admin built end-to-end (HTML first load then JSON visits) using inertiajs + inertia-laravel and dynamic imports for code-splitting by default. Shows concrete features: preserve scroll and state, lazy server props and partial reloads, a modal fallback for non-inertia responses, and notes production use despite 0.x — the demo works and saves you writing many API endpoints.
AI-written summary · about
chapters (13)
- 0:00Start
- 1:02Projects I work on at Spatie
- 2:55Server-side MVC frameworks
- 3:45SPAs are awesome!
- 4:50SPAs add client complexity
- 5:39Wishlist JavaScript view layer
- 8:21Core + collection of adapters
- 8:55Server framework adapters
- 9:12Client framework adapters
- 24:44Features
- 25:17What makes Inertia great?
- 26:14Is Inertia safe for production?
- 26:43Resources








