Skip to content
railsengines.com

Reactive Views

Reactive, incremental React for Rails — SSR + hydration islands with optional SPA-like navigation

No ratings yet
Gem
reactive_views
Repository
elisoncampos/reactive_views
License
MIT
Stars
10
Added
August 06, 2026

About

Reactive, incremental React for Rails — SSR + hydration islands with optional SPA-like navigation.

ReactiveViews lets you write React components and use them directly inside Rails views — with server-side rendering (SSR), client hydration, and an optional full-page .tsx.erb / .jsx.erb pipeline. No separate frontend app required.

What you get

  • React islands in ERB: write `in.html.erb` and get SSR + hydration.
  • Fast SSR: batch rendering for flat pages, tree rendering for nested component composition.
  • Less prop plumbing: optional TypeScript-based prop key inference for full-page pages (reduces payload size).
  • Caching knobs: SSR HTML caching + inference caching with pluggable cache stores.
  • Vite-native: dev HMR + production builds via vite_rails.

Installing it

ruby
# Gemfile
gem "reactive_views"

Details

10 stars on GitHub · MIT licensed · maintained by elisoncampos. Source: https://github.com/elisoncampos/reactive_views

Discussion (0)

Sign in to join the discussion.

No comments yet.