Registry / web-framework / react-rails

react-rails

JSON →
library3.3.1rbrubygemsunverified

Render React components in Rails views or controller actions with server-side rendering and JSX transformation.

gem install react-rails
INSTALL
IMPORT
SIG · REACT-RAILS
R
react-rails
web-frameworkrubyv3.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

React
require 'react-rails'

Render a React component in a Rails view.

require 'react-rails' # In a view: # <%= react_component('HelloWorld', name: 'React') %>
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.3.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
react-rails — gem install react-rails · libregistry