docs/oss/getting-started/nextjs-with-separate-rails-backend.md
Teams evaluating React on Rails often ask whether they should instead run Next.js as a standalone frontend and Rails as a separate backend API.
This guide outlines the tradeoffs so you can decide based on architecture and team constraints, not trend pressure.
In this model:
React on Rails keeps Rails and React integrated in one app boundary:
This is often a better fit when your primary goal is substantial React UI in a Rails app without taking on full frontend/backend split complexity.
Choose Next.js + separate Rails backend if most of these are true:
Choose React on Rails if most of these are true: