Quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.

Inertia.js retweeted
Rewrote 3 smallish production apps using inertiajs. On average, reduced each by ~2000 LOC.
🚀 The first official @inertiajs release is here! We've been working hard to make Inertia.js both a joy to work with and also super stable. 💪 Plus, we already have official adapters for @laravelphp, @vuejs, @reactjs and @sveltejs. 🤩 Upgrade guide: 👇 github.com/inertiajs/inertia…
1
1
14
Inertia.js retweeted
🚀 The first official @inertiajs release is here! We've been working hard to make Inertia.js both a joy to work with and also super stable. 💪 Plus, we already have official adapters for @laravelphp, @vuejs, @reactjs and @sveltejs. 🤩 Upgrade guide: 👇 github.com/inertiajs/inertia…
36
143
463
The latest episode is here. Join us as we discuss monitoring scheduled tasks, new ways of approaching SPA/ in @inertiajs and Livewire, and “microservices” northmeetssouth.audio/episod…
3
5
We added partial page reloads to Inertia this morning. 🎉 This allows you to return a subset of the data from your controller on subsequent page visits. This can be a really useful performance optimization in situations where certain data is expensive to lookup server-side.
2
13
86
A great use-case for this is a resource page with filter options and searching. You may need to load a bunch of extra data to populate some filter inputs. The trick server-side is to wrap these "expensive" data lookups in callbacks so they are lazily evaluated when needed.
1
13
Note, this feature did require some changes to the Inertia::share() option in the Laravel adapter. You may need to update your code if you were using the closure format. Reason why: we need to know the shared keys, without having to first evaluate to the callback.
1
17
Inertia.js retweeted
I've had lots of people asking me how to do file uploads with @inertiajs, so I added an example of this to the Ping CRM demo app. The trick is to use FormData, just like you would when uploading any other files via xhr. Full source code here: github.com/inertiajs/pingcrm
4
25
130
If you're using the inertia-laravel package, make sure you're on the latest version. There's a security bug in older versions.
6
14
Inertia.js retweeted
I think @inertiajs might be my most ambitious open-source project to date. It's forced me to sharpen up on a bunch of languages and frameworks. 😅 Here's my short list of frameworks I plan to officially support: ✅ Laravel ✅ Rails ✅ Phoenix ✅ Django ✅ Vue ✅ React ✅ Svelte
8
14
185
😍
Getting up and running with the Laravel side and the Svelte side was a breeze! This is my new go-to for client projects. 😁
3
🎉 We now have an official @sveltejs adapter! Huge thanks to @pedroborg_es for putting this together. 🤟 github.com/inertiajs/inertia…
2
7
39
We have a new website coming soon along with a 0.1 release! 🎊 Want to keep in the loop? Join the mailing list at inertiajs.com. We'll be sending out a sneak preview of the new website to subscribers next week. 🎉
11
51