Start with the live demo, then branch into the React on Rails gem and Shakapacker gem integration patterns without digging through a wall of docs first.
Jump Directly
This Demo Covers
Review Apps
Use control-plane-flow to deploy, inspect, or remove a PR preview without leaving the thread.
The review-app flow turns deployment into a lightweight PR action instead of a separate setup task.
Quick Review App Commands
/deploy-review-app
Deploy your PR branch for testing.
/delete-review-app
Remove the review app when done.
/help
Show detailed instructions, environment setup, and configuration options.
Quick Links
Start with the essentials here. Open the extra reading only if you want more context.
Deployment
control-plane-flow Library
The library behind this project’s review-app workflow.
Review Apps
Quick PR Commands
Keep /deploy-review-app, /delete-review-app, and /help close.
Build Notes
Repository README
Setup, structure, and local run instructions.
Docs
React on Rails Documentation
Go deeper once the live demo clicks.
Live Playground
Stay on this page, or jump straight to the plain Rails and React variants.
React Router Demo
Use the pills to view the comments route, a plain routed screen, and a redirect back to root.
Live Data
Comments
This widget exercises the tutorial's full stack: Rails endpoints, server rendering, Redux state, Markdown rendering, and Action Cable updates.
Language
Markdown
Text supports Github Flavored Markdown.
Cleanup
Comments older than 24 hours are deleted.
Validation
Name is preserved. Text is reset, between submits.
Realtime
To see Action Cable instantly update two browsers, open two browsers and submit a comment!
Write Something
Post a new comment in the layout that fits your use case.
Switch between horizontal, stacked, and inline form layouts to see how the same Rails-backed workflow adapts to different interface constraints.
Stream
Recent comments render below with Markdown support.
Submitted Markdown is sanitized before display, so the example demonstrates both richer content and safe rendering.