Open source at the core

Ship modern React in Rails - fast, and prove it.

ShakaStack connects four open-source ShakaCode projects, ShakaPerf repository source and exact package records, and an optional commercially licensed React on Rails Pro tier. Build, test, measure, and deploy without splitting Rails from a separate frontend app.

4 OSSplus ShakaPerf by artifact
MITReact on Rails core
Prooptional RSC & advanced rendering
the_shaka_stack.rb▟ build → deploy
BuildReact on Rails01
BundleShakapacker02
TestE2E on Rails03
ProveShakaPerf04
DeployControl Plane Flow05
The problem

Modern React on Rails is harder than it should be.

You picked Rails because it’s productive and joyful. Then the frontend got complicated - and somewhere along the way your app got slow, your config got fragile, and your bills went up.

01

Bolting React onto Rails

Webpacker’s deprecated, SSR is fiddly, and React 19 / RSC feel out of reach. You’re duct-taping a frontend instead of shipping features.

02

Pages that lost their speed

Slow LCP and hydration drag down SEO and conversions - and you have no rigorous way to measure it or prove a fix actually worked.

03

The infra & config tax

Heroku bills climb, build configs rot, and every upgrade is a gamble. The stack fights you instead of working for you.

Keep the Rails workflow your team knows. Add modern React, measurable performance, and a familiar path to production without splitting the app by default.

Your guide

Maintainers with a public track record.

ShakaCode has consulted since 2011 and maintains the public Rails + React foundations behind this stack. Source, documentation, licenses, and support routes stay visible so teams can evaluate each layer on its own terms.

2011 ShakaCode consulting since ShakaCode about
≈90% Lower HVMN server-response times in one documented Pro engagement HVMN case study
The plan

Build → test → prove → deploy.

Four phases, four open-source projects, and ShakaPerf evaluated by artifact - one path from Rails + React code to measured production changes. Each layer links to its public source, docs, and license so you can evaluate it independently. Tap a layer to see how it moves your app forward.

01BuildRender React in Rails and bundle assets.
02TestExercise real browser flows with Rails test state.
03ProveCompare control and experiment before changes ship.
04DeployShip the validated app to production.

React on Rails

Open-source Rails + React integration, with an optional Pro rendering tier.

Use the MIT-licensed core to mount React components from Rails views and run server-side rendering with hydration. Add commercially licensed React on Rails Pro for React Server Components, streaming SSR, fragment caching, and a dedicated Node renderer.

Rails-first ReactRender components from views & controllers. Keep Rails routes, conventions, and your team.
MIT-licensed coreUse Rails + React integration, hydration, and ExecJS server rendering under the open-source license.
Explicit Pro pathReview the commercial license before using Pro for advanced rendering and maintainer support.
reactonrails.com - terminal
$bundle exec rails generate react_on_rails:install
$npx create-react-on-rails-app@latest my-app
Licenses & support

Clear paths from evaluation to production.

Public source is not the same as an open-source license. Each path keeps its license, evidence, and support route explicit.

Project maturity snapshot

Five public project records, one checked date.

Checked statically curated

Commercial path

React on Rails Pro

React on Rails Pro is commercially licensed. Review the published EULA and subscription terms before use; paid subscriptions include updates and reasonable maintainer support without implying an SLA.

Developer experience

Mix the best of Rails and React. Stay flexible.

ShakaStack blends the developer experiences teams love - Rails' conventions and productivity with modern React 19, RSC, and TanStack. It's also the most agent-capable way to build, so whether a human or an AI agent writes the code, it lands on a foundation that keeps it fast and maintainable.

Already have Rails?

Add TanStack incrementally

Add React on Rails Pro and the TanStack libraries you want to the app you already have. Keep your routes, conventions, and team while adopting the UI page by page.

  • Adopt it page by page, alongside your existing Rails views
  • Great performance out of the box - SSR, hydration, streaming
  • Choose Query, Router, and Table independently
Starting fresh?

Spin up with full flexibility

Begin a new Rails app and mix exactly what you want, per page: classic Rails views, React on Rails components, React 19 + RSC, and TanStack. Use as much or as little as you need.

  • Classic Rails, React components, RSC, or TanStack - your call
  • The official starter gives you a deployable baseline on day one
  • Scale from a sprinkle of React to a full TanStack app
Agent-ready

The most agent-capable stack

AI agents thrive on convention. Rails' structure, explicit typed JSON contracts, and the starter's AGENTS.md guardrails give an agent a map it can't sprawl outside of, so AI-assisted changes stay reviewable and maintainable instead of turning into slop. Humans remain responsible for review and decisions. In ShakaCode's separate ShakaPerf optimization loop, only optimization changes that ShakaPerf proves faster survive the loop.

It doesn't stop at writing code: ShakaCode's public agent-workflows repository documents the guardrails and workflows behind this approach.

…and all the great things about Rails
ActiveRecordMigrationsBackground jobsMailersSessions & authCSRF protectionConvention over configurationThe gem ecosystem
Next.js + Rails

Both stacks can stream. The key tradeoff is the application boundary.

Compare a Next.js Server Component fetching Rails directly with React on Rails Pro resolving Rails-owned async props inside the active Rails request.

See the full comparison Architecture, tradeoffs, and an honest decision guide.
See it running

Live demos & starters, with source.

Each card links to a running deployment or proof artifact and its public source. Evaluate the stack, inspect the evidence, compare approaches, or fork a starter.

Examples that include React on Rails Pro expose public source for inspection; use of those Pro components is governed by the React on Rails Pro license.

FlagshipReact on Rails Performance Demo landing page with the headline Make Your Rails App 2x Faster

Marketplace

A marketplace performance demo for React on Rails Pro, React 19, and React Server Components.

React on Rails ProReact 19RSC
FlagshipHacker News on Rails demo showing a ranked list of news stories

Hacker News

A Hacker News reader built on React on Rails Pro with React 19 and React Server Components.

React on Rails ProReact 19RSC
FlagshipGumroad-style React Server Components demo showing the Tendon Book product page

Gumroad

A Gumroad-style creator dashboard comparing Inertia and React on Rails Pro with React 19 and RSC.

React on Rails ProInertiaRSC
OfficialReact on Rails and TanStack starter landing page describing three Rails rendering surfaces

TanStack Starter

The official Rails 8 + React on Rails Pro starter with TanStack Router, Query & Table, shadcn/ui, and an RSC showcase, with Rails remaining the application boundary.

Rails 8React on Rails ProTanStackRSC
ProductionReact on Rails tutorial demo showing routes for Rails, React, and server rendering

Legacy Tutorial App

The original full-app React on Rails tutorial, using Shakapacker with server rendering.

React on RailsShakapackerSSR
Proof

ShakaPerf audit report

An integration-test report snapshot from ShakaPerf's audit-results fixture, pinned to the tested repository commit.

ShakaPerfIntegration testAudit report

More React on Rails demos at reactonrails.com/examples →

The proof

Start from a working app, not a slide deck.

The official starter

A deployable Rails 8 + React on Rails Pro app with TanStack Router, Query & Table, shadcn/ui, and an RSC showcase. It includes typed JSON contracts, CSRF-aware fetch, URL-synced query keys, mutations, invalidation, SSR, and hydration.

Its AGENTS.md encodes the thesis as an engineering guardrail: “do not add TanStack Start, Vite, or file-based routing.”

Rails 8React on Rails ProTanStack RouterTanStack QueryTanStack Tableshadcn/uiRSC showcase
Built by ShakaCode

Talk to the maintainers.

ShakaCode builds and maintains every project in the stack - and helps teams ship with SSR, RSC, bundling, E2E tests, deploys, and performance. Book a free 30-minute call.