| Ways to run it | — | - React on Rails (self-hosted, MIT): free
You arrange: a Rails app with Shakapacker (webpack or Rspack), Node.js 18+ and a JavaScript package manager for builds - React on Rails Pro (self-hosted, proprietary): free in development, test, CI and staging, and in production for organizations under 10 people, $1M revenue in the last twelve months and $1M raised ever; otherwise ShakaStack Pro, $1,800 per year per organization
You arrange: a Node.js rendering server (the react-on-rails-pro-node-renderer package) running alongside Rails
| — | — |
| Features | - server-side routing and controllers render client-side React, Vue or Svelte pages
- official server adapters for Laravel, Rails, Phoenix and Django; community adapters for others
- official client adapters for React, Vue and Svelte
- forms with validation, file uploads and error handling
- partial reloads, deferred, merged, once and shared props
- prefetching on hover or click, polling and infinite scrolling
- server-side rendering
- automatic asset versioning
- All 10 features
| - react_component view helper
- props from Rails controllers
- server-side rendering (ExecJS in OSS)
- hot reloading
- automatic bundle generation
- Shakapacker with webpack or Rspack
- generator and create-react-on-rails-app
- react_on_rails:doctor diagnostics
- All 9 features
| - Turbo: Drive, Frames, Streams and morphing page refreshes
- Stimulus: JavaScript controllers wired with data attributes
- Hotwire Native: native iOS and Android shells for the web app
- works with any server-side language
- default front end in Rails
| - AJAX from any element on any event
- partial page swaps with server HTML
- CSS transitions
- WebSockets and Server-Sent Events
- about 16 KB, no dependencies
- extensions
|