(no title)
dyogenez | 10 months ago
Inertia.js turned out to be amazing for this switch, and turned me into a big fan of Vite and Rails.
dyogenez | 10 months ago
Inertia.js turned out to be amazing for this switch, and turned me into a big fan of Vite and Rails.
freddydumont|10 months ago
dyogenez|10 months ago
With RSCs, I’d have code scattered throughout components that would hit APIs to get data.
With Rails + Inertia, that code is all in a Rails controller - usually with a serializer.
I’m still getting used to using InertiaRails.optional there which is what’s needed for a Suspense like experience w/Inertia. Having everything in controllers again is nice.