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 - Laravel Tutorial
From the course: Building a Website with Laravel, React.js, and Inertia
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
-
-
-
-
-
(Locked)
Introduction to Inertia.js1m 16s
-
(Locked)
Getting started with a new Inertia project1m 58s
-
(Locked)
Creating a Post resource2m 29s
-
(Locked)
Creating the Home and About pages2m 14s
-
Creating an Inertia navigation2m 6s
-
(Locked)
Changing the website title2m 4s
-
(Locked)
Displaying posts3m 4s
-
(Locked)
Creating posts4m 37s
-
(Locked)
Displaying a single post1m 29s
-
(Locked)
Updating posts1m 51s
-
(Locked)
Deleting posts1m 33s
-
(Locked)
Challenge: Show a flash message1m 2s
-
(Locked)
Solution: Show a flash message2m 59s
-
(Locked)
-