From the course: Building a Website with Laravel, React.js, and Inertia

Unlock the full course today

Join today to access over 24,500 courses taught by industry experts.

Introduction to Inertia.js

Introduction to Inertia.js

- [Instructor] We have created a simple, functional single page application with a navigation, few pages and a form. Our API is powered by Laravel and our front end is using React.js. This is a standard way to create an SPA and it's one of the ways to use React and Laravel together and it might just be the right approach for you and your project, but there is another approach that is worth considering when using React.js and Laravel back end and that is using Inertia.js. Inertia is in a framework. It's something like a glue that allows us to create fully client-side rendered, single page applications without building an API, client are routing and without a complexity that comes with modern SPAs It uses existing server side patterns that as Laravel developer you will probably be familiar with. Think of Inertia building Laravel applications the way you know, using routes controllers and returning views. But instead of returning a blade view or adjacent response as was the case with the…

Contents