Loading article...
Loading article...
Skip the API boilerplate. Keep your Rails conventions. Ship a fast, type-safe frontend without a separate backend codebase.

While Rails 8 modernizes asset management and background processing, Inertia.js modernizes the view layer. By replacing ActionView with React components while keeping the controller-state-flow intact, Inertia eliminates the need for an intermediate API layer, significantly reducing your application's surface area.
When teams move from classic Rails ERB views to a React frontend, they typically face a fork in the road: either maintain a full JSON API (with serializers, authentication tokens, CORS, versionning headaches) or keep the monolith and sprinkle in React component islands via importmap or jsbumdling-rails