React on Rails Pro · RSC Flagship Demo

Flagship Task Board

A real CRUD app, streamed by Rails through React on Rails Pro. The board below starts as a React Server Component, sends HTML from the Node renderer, then React 19 hydrates the client component and Redux Toolkit store. ActiveRecord owns the data; React owns the UI.

To do2

Break something on purpose

Stop the Rails server and try to add a task: the UI shows the error state instead of failing silently.

Read the React on Rails docs

https://reactonrails.com - RSC, streaming, auto-registration, and the full configuration reference.

Doing2

Add a task with optimistic UI

Use the form above. The thunk POSTs to /api/tasks and the slice reconciles the server response.

Drag a task to Done

Status changes PATCH /api/tasks/:id. Errors roll back and surface in the banner.

Done2

Render the first screen on the server

This very list arrived as HTML from Rails. View source: the markup is there before any JavaScript runs.

Hydrate with Redux Toolkit

The same props that fed the stream seed the Redux store, so the client picks up exactly where the server left off.

Server-rendered by Rails at 2026-11-23T23:18:51Z — view the page source: this board is in the HTML before any JavaScript runs.