6 ms·
Did you miss the DX of React Server Components at all when switching to Inertia?
by freddydumont 1y ago
Did you miss the DX of React Server Components at all when switching to Inertia?
- dyogenez 1y agoI haven't so far. I’ve preferred the new way: 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.