I've recently shared a lot about running @inertiajs SSR through Sidecar, but I've just written up how and why you would use this method on Laravel Vapor.
TL;DR: You can't have a long-running node process on Vapor, which is where Sidecar comes in.
aaronfrancis.com/2022/inerti…
🎉 I've just published v0.0.1 of sidecar-inertia, which lets you run @inertiajs's new SSR feature on AWS Lambda.
This means that you can use SSR on Vapor! There's no need to maintain a running node process.
github.com/hammerstonedev/si…
🚀 It's finally here. Server-side Rendering for Inertia.js!
inertiajs.com/server-side-re…
As always, this means there's a ton of new releases:
✨ server@0.1.0
✅ inertia@0.11.0
✅ inertia-vue@0.8.0
✅ inertia-vue3@0.6.0
✅ inertia-react@0.8.0
✅ inertia-laravel@0.5.1
Release notes for these versions can be found at inertiajs.com/releases
Finally, we've also shipped an update for the Svelte adapter (no SSR yet, sorry!) which includes a bunch of fixes and unmentioned new features.
Enjoy! 🥳
One of the things I've been loving the most about @inertiajs dev lately is the loose contract between your front end and your back end when dealing with form submissions.
Just `redirect()->back()` from your create/update/etc controllers!
ALT A Laravel single-method controller that adds a dish to a cart, creates a success toast, and redirects back.
Just binged the @laracasts intro to @inertiajs course, damn, never realised how nice Inertia is. Gonna spend some time playing about with it and maybe pull it into a project or 2
I just want to reiterate how awesome it is that Jeffrey did this course on Inertia.js. If you’re at all interested in learning more about it, definitely check it out. 👇
Another @vuejs tip, just found out with @inertiajs to avoid using the `$page.props.auth` you can
just use the defineProps({ auth: Object }), and it just works. ✅
I'm working hard to make our @inertiajs series as easy as possible for Laravel users to understand and adopt.
We're up to episode 14 today, as we review default layouts and dynamic page imports.
laracasts.com/series/build-m…
Just added two more lessons for this week.
If you can find 10 minutes a day to watch one episode, you'll be up and running with Vue and Inertia in no time at all.
laracasts.com/series/build-m…
More episodes next week. All free. 👍
I love @inertiajs so much that I'm currently working on a 100% free series that demonstrates how to build modern Laravel apps using it.
🆕 The first two episodes are now live. Give the series a bookmark, as there will be multiple updates each week.
📺 laracasts.com/series/build-m…
I love @inertiajs so much that I'm currently working on a 100% free series that demonstrates how to build modern Laravel apps using it.
🆕 The first two episodes are now live. Give the series a bookmark, as there will be multiple updates each week.
📺 laracasts.com/series/build-m…
🔥 I just wrote a simple @vite_js plugin to support a handy @inertiajs persistent layout syntax with a custom template attribute.
Left is before, right is after. Vite is super cool.