Using React (Server rendering) + Redux + Rails Backend (using the react_on_rails gem)

Quick Links

Pull the next thing you need, not the whole library.

Start with the essentials here. Open the extra reading only if you want more context.

Current Commit 9a71217
More reading and support

Live Data

Comments

This widget exercises the tutorial's full stack: Rails endpoints, server rendering, Redux state, Markdown rendering, and Action Cable updates.

Language

Manual refresh available
Auto-updates via Action Cable

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.