InertiaJS is a recently hyped “glue between frontend & backend” for quickly writing Laravel applications with modern JS frameworks like VueJS without writing any APIs or do your frontend routing (no more fussy state management & vue router). But, as our SPAs grew, there’s more state to manage, there are more API endpoints to write (if you’re using REST APIs), all those state management, frontend API requests, SPA authentication, authorization, things get messy in the end, at a point, why can’t we just go back to the simple request and response?
InertiaJS takes that away, we just need to pass our data with Inertia::render()and accept it in props in your Vue component.
Honestly, its great to get started with until you need to manage your components, or create custom components for it.
There’s no right or wrong when using something, it all comes down to will it help you with your development?