Introducing a new way to review your PRs.

Read the announcement

shakacode / react_on_rails

Integration of React + Webpack + Rails including server-side rendering of React, enabling a better developer experience and faster client performance.

View on GitHub

19 documents · Updated Nov 18, 2026

docs / rails-integration

Rails integration and application lifecycle

React on Rails is the Ruby gem that connects a Rails request cycle with React assets and rendering. It adds a Rails engine, shared view and controller interfaces, startup checks, and development support so a Rails app can render React on the server or in the browser while keeping the two package layers aligned.

System boundary

The gem sits between four parts of an application: Rails boot, the asset bundler, Ruby view and controller code, and the JavaScript runtime. Rails owns the request and response. React on Rails supplies the bridge that passes component names, props, store data, request context, and rendered output across that boundary.

The main responsibilities are:

  • Load into Rails as an engine.
  • Apply application configuration and check that the Ruby gem and JavaScript package can work together.
  • Expose helpers for views and controllers.
  • Connect browser rendering and server rendering to the registered JavaScript components.
  • Support asset generation, local development processes, tests, setup diagnosis, and optional RSC safety guidance for agent tools.

The JavaScript registration and rendering contracts are described in JavaScript runtime and registration and Component rendering and hydration. The Ruby-side configuration contract is described in Rails engine and configuration.

Cross-system responsibilities

Each side has a clear role. Rails supplies the application environment and request data. The bundler supplies browser and server assets. The gem turns Rails calls into render requests. The JavaScript runtime resolves those requests and returns markup or client data.

BoundaryResponsibilityResult
Rails boot and gemLoad the engine and validate the application setupThe app fails early when required package or configuration contracts are invalid
Rails views and controllersDeclare components, props, stores, and response dataRails pages contain the data and mount points that React needs
Asset bundlerBuild and serve client and optional server bundlesRails can use current assets in development and built assets in other environments
JavaScript runtimeResolve registered components and storesBrowser rendering or server rendering produces the React result
Operational toolsCheck setup, manage local processes, and install optional safety guidanceEngineers can find stale assets, bad wiring, process conflicts, and unsafe RSC app settings

References: react_on_rails/…/react_on_rails.rb• L3-32 react_on_rails/…/helper.rb• L797-824 react_on_rails/…/packer_utils.rb• L45-67 react_on_rails/…/agent_guardrails.rb• L7-35

Rails application lifecycle

The integration follows the Rails application lifecycle from load time to request handling and then to development or test support. The engine adds its hooks during boot. The application initializer sets policy. A view or controller then requests a component or store, and the gem selects the matching asset and rendering path.

This diagram shows the high-level path from application boot to a React response.

flowchart TD
    A[Rails loads React on Rails] --> B[Engine registers boot hooks]
    B --> C[Application applies ReactOnRails configuration]
    C --> D{Package and setup checks pass?}
    D -- No --> E[Stop boot with a diagnostic]
    D -- Yes --> F[Request reaches controller or view]
    F --> G[Helper builds component or store request]
    G --> H{Server rendering requested?}
    H -- Yes --> I[Server bundle returns markup or data]
    H -- No --> J[Browser bundle receives mount data]
    I --> K[Rails returns page with hydration context]
    J --> K
    K --> L[Browser hydrates or renders the component]

Installation setup

The install generator turns a Rails app into a runnable React on Rails app. It checks local prerequisites, ensures Shakapacker is available, installs JavaScript dependencies, and invokes generators that create configuration and example entry points.

The generator supports different asset and product choices. A fresh install uses Rspack when supported unless the app or command selects Webpack. Optional TypeScript, Tailwind, React Server Components, and Pro paths change the generated example and package set. Existing custom files such as a non-stock bin/dev are preserved. The generator also adds build scripts, CI workflow wiring, and development files when needed.

If Shakapacker setup stops part way through, the generator reports that the installation is incomplete. It does not present the app as ready to run. Generated agent guidance files are added by default when the app does not already have its own AGENTS.md, and the option can disable that output.

RSC setup can also install app-local agent guardrails. These guardrails give an agent a safety skill and an advisory post-edit hook that warn about unsafe RSC routes, untrusted props, exposed renderers, and secret leaks. Installation updates only the managed files and hook entry, while preserving the app root and existing file ownership; invalid Claude settings stop the install before any guardrail file is copied.

References: react_on_rails/…/install_generator.rb• L187-234 react_on_rails/…/install_generator.rb• L274-337 react_on_rails/…/install_generator.rb• L348-388 react_on_rails/…/install_generator.rb• L639-661 react_on_rails/…/install_generator.rb• L673-739 react_on_rails/…/install_generator.rb• L742-820 react_on_rails/…/agent_guardrails.rb• L202-215 react_on_rails/…/agent_guardrails.rb• L281-399

Engine boot

The engine is the Rails entry point for the gem. It installs a compatibility check before Shakapacker's package-manager guard when Shakapacker is present but is not the app's configured bundler. This lets client-only apps use another bundler without treating a transitive Shakapacker dependency as the active asset system. The engine also resets server-rendering state before Rails prepares the application again and adds optional Scout APM tracing after Scout starts.

After initialization, the engine checks the package and gem setup unless the app is still being installed. A missing package.json, a generator run, or the explicit setup escape hatch skips this check so installation can finish. A normal application boot does not skip it. Version or package errors therefore stop startup instead of reaching a later request with an invalid cross-language setup.

Rails automatically loads the gem's Rake tasks from lib/tasks. The engine does not load those tasks a second time. This keeps asset, pack-generation, locale, and diagnostic tasks available without duplicate execution.

The version check resolves package versions from the app's lockfile before it falls back to package.json. It now covers pnpm, Bun text lockfiles, and Yarn Berry YAML in addition to the older Yarn and npm formats. Local, URL, and workspace dependencies keep their declared specs because lockfiles may record link placeholders. Unreadable or unknown lockfiles behave like missing lockfiles and leave a debug trace instead of stopping Rails boot.

The same lockfile view supports the RSC package advisory check. That check examines every resolved copy, including nested copies, so a vulnerable transitive react-server-dom-webpack package is not hidden by a safe direct dependency.

References: react_on_rails/…/engine.rb• L5-37 react_on_rails/…/engine.rb• L63-103 react_on_rails/…/engine.rb• L210-232 react_on_rails/…/version_checker.rb• L584-615 react_on_rails/…/lockfile_resolution.rb• L19-75 react_on_rails/…/lockfile_resolution.rb• L78-171 react_on_rails/…/lockfile_resolution.rb• L173-263 react_on_rails/…/doctor.rb• L5351-5376 react_on_rails/…/engine_spec.rb• L678-717

Application configuration

ReactOnRails.configure is the application policy point. It sets defaults from the Rails environment and then checks values that affect asset loading, server rendering, generated packs, private bundle storage, and test builds. Most apps need only the generated initializer values. The important choices are whether to prerender, where the server bundle lives, whether generated packs load automatically, and how tests build assets.

The gem treats the asset bundler as a shared contract rather than as an isolated Rails setting. Shakapacker supplies manifest and output information when it is the active bundler. With newer Shakapacker versions, a private output path can become the source for the server bundle path. The configuration layer also prevents conflicting output-path settings and rejects unsupported loading strategies.

The generated initializer recommends a private server-bundle location. This protects server-only code from being served as a public asset. Use Rails engine and configuration for the setting groups and their relationships.

References: react_on_rails/…/configuration.rb• L23-71 react_on_rails/…/configuration.rb• L74-160 react_on_rails/…/configuration.rb• L196-279 react_on_rails/…/react_on_rails.rb.tt• L7-32

Request interfaces

Rails views use ReactOnRailsHelper, which includes the shared React on Rails helper module. The primary react_component interface accepts a registered component name and props. It can request server rendering or client-only rendering, then places the result and the context needed by the browser into the response. react_component_hash serves the related case where server rendering returns several values, such as component HTML plus page metadata.

Rails controllers can defer Redux store setup until the view is ready to emit hydration data. The layout must include redux_store_hydration_data for that deferred data to reach the browser. An optional form responder maps Active Model validation errors to the JSON shape expected by useRailsForm; it is a response contract, not a required controller base class.

The helpers also carry a Rails context. It includes environment, locale, request URL, content-security-policy nonce, and feature signals that the JavaScript side can use during rendering. This context is shared across component and store work so server output and browser hydration describe the same request.

Component requests can also choose a hydration schedule or a rendering mode. The open-source client renderer supports immediate, visible, and idle hydration. Rendering can be synchronous or streamed, while the RSC payload mode belongs to the server-components path. An environment override can force prerendering on or off for an operational check; invalid override values are ignored with a warning.

References: react_on_rails/…/react_on_rails_helper.rb• L1-5 react_on_rails/…/helper.rb• L101-197 react_on_rails/…/helper.rb• L217-247 react_on_rails/…/helper.rb• L344-413 react_on_rails/…/controller.rb• L5-25 react_on_rails/…/form_responders.rb• L3-56 react_on_rails/…/render_options.rb• L7-24 react_on_rails/…/render_options.rb• L31-67 react_on_rails/…/render_options.rb• L72-191

Rendering and asset flow

The Rails side does not decide how a component is implemented. It names a registered component and supplies request data. The asset and JavaScript layers decide whether that name resolves in the browser, in a server renderer, or in both places.

When a page asks for server rendering, the gem uses the configured server bundle and rendering transport. It then emits the server result together with a component specification and Rails context. When server rendering is off, it emits the client-side mount data instead. The browser uses the same component registration contract in either case.

This separation lets teams change registration, bundling, or server-rendering transport without changing the Rails controller action. Read Server rendering protocol for the transport contract and Component rendering and hydration for the page-level behavior.

Bundle selection

Asset selection follows the active Shakapacker manifest in normal Rails operation. A running development server can provide a live asset URL. Otherwise the app uses a built asset path. Generated component and store packs are optional. When automatic loading is enabled, the configured source folders become the input for generated entry points and missing development bundles are reported as setup errors.

The server bundle has a separate security concern from browser assets. It may be stored outside public/, and the configuration can enforce that private location. A server-rendering request therefore depends on both a valid bundle path and a valid manifest or output state.

The server bundle may also be fetched from a remote URL. The Ruby renderer checks the response, decodes the declared character set as UTF-8, and reports a bundle-load error when the source cannot be read or decoded. Error messages remove URL credentials so renderer access details do not enter Rails logs.

Generated server-bundle configuration follows the active Shakapacker bundler. It uses the configured private output path when available and warns when the Rails and bundler output settings need review. The generated server build keeps a single server entry and avoids browser-only asset output so the server bundle remains suitable for rendering.

References: react_on_rails/…/packer_utils.rb• L8-20 react_on_rails/…/packer_utils.rb• L36-67 react_on_rails/…/helper.rb• L439-484 react_on_rails/…/helper.rb• L966-1025 react_on_rails/…/ruby_embedded_java_script.rb• L150-169 react_on_rails/…/ruby_embedded_java_script.rb• L424-484 react_on_rails/…/serverWebpackConfig.js.tt• L3-18 react_on_rails/…/serverWebpackConfig.js.tt• L41-113

Hydration context

Hydration is the handoff from Rails output to browser behavior. The gem emits one JSON context block for the page and adds component specifications beside rendered output. Store hydration data follows the same page context so the browser can rebuild the stores before dependent components mount.

The browser must register the same component and store names that Rails requests. A mismatch does not usually fail while Rails builds the HTML. It appears later when the browser waits for registration or tries to hydrate the server output. Read JavaScript runtime and registration for the registration side of this contract.

References: react_on_rails/…/helper.rb• L764-795 react_on_rails/…/helper.rb• L888-892 react_on_rails/…/helper.rb• L1033-1050

Client rendering lifecycle

The client rendering lifecycle turns Rails mount data into browser components. A full page load renders the page's components after the page-load event. A Turbo Frame update records the old mounts before replacement, cleans up detached mounts after replacement, and renders only the new frame content.

On-demand rendering initializes only the stores declared by a component when Rails provides that dependency data. Markup without that data keeps the older page-wide store initialization behavior. Existing stores keep their state for the current page, while page cleanup clears them so a later page can create them from its own props.

The renderer tracks framework-created roots, user-owned renderer mounts, and deferred visible or idle mounts. It skips a still-mounted node, cleans up a replaced node, and cancels pending work during a soft navigation. A user renderer can return a teardown action. The open-source path makes a best-effort attempt for an asynchronous teardown when navigation races its result.

Render errors are normalized for useful diagnostics. Immediate errors are raised with the component name and original cause or stack. Deferred errors are reported without escaping the scheduler callback, so other page cleanup and browser work can continue.

References: packages/…/clientStartup.ts• L12-67 packages/…/ClientRenderer.ts• L119-197 packages/…/ClientRenderer.ts• L266-308 packages/…/ClientRenderer.ts• L372-419 packages/…/ClientRenderer.ts• L426-577 packages/…/ClientRenderer.ts• L584-711 packages/…/ClientRenderer.test.ts• L166-255 packages/…/ClientRenderer.test.ts• L780-1228

Server rendering errors

The server-rendering path separates transport failures from JavaScript evaluation failures. If Rails cannot reach a remote renderer, the error points to the renderer process and its configured host or port. If the renderer is reachable but the bundle fails, the error points to bundle evaluation instead. This distinction sends operators to the process or the bundle that can fix the fault.

The renderer can return either a complete result or streamed chunks. The Ruby side accepts the current length-prefixed result and the older JSON result, then replays server console messages to Rails logs when enabled. It does not expose credentials from a configured renderer URL in those diagnostics.

References: react_on_rails/…/ruby_embedded_java_script.rb• L90-124 react_on_rails/…/ruby_embedded_java_script.rb• L261-336 react_on_rails/…/ruby_embedded_java_script.rb• L486-514

Development and operational checks

Development support keeps Rails, the asset watcher, generated packs, and optional renderer processes in one workflow. The bin/dev flow can run a normal development server, static watched assets, production-like assets, or a test asset watcher. It chooses ports, starts a process manager, and avoids repeating a Shakapacker precompile hook when the same lifecycle is already under its control.

The diagnostic task checks the application as a connected system. It covers package versions, key configuration files, bundler settings, Rails wiring, server-rendering assets, test setup, development launchers, and optional Pro renderer capacity. It supports human-readable output and a stable JSON report for automation. Use Development and diagnostics for the supported checks and local workflow.

Development modes

The default mode follows the Shakapacker development settings. HMR preserves more browser state when supported. Live reload rebuilds assets and refreshes the page. Static mode watches and serves built files without the development server's HMR behavior. Production-like mode checks optimized asset output without changing the Rails processes that serve the app.

The test watcher has a related choice. It can build the full test asset set or reuse a compatible server-bundle watcher when the output paths are shared. Port selection can use explicit service ports or derive a small group of ports from a workspace base port. This keeps parallel worktrees from selecting the same default ports.

Development shutdown is scoped to the current app directory. A running session records its resolved app root, process ownership data, control endpoint, and selected ports under a locked session state. bin/dev kill checks that lock and identity before it signals a process. If that state is missing, malformed, foreign, or still owned by another run, shutdown fails closed. Only a fallback scan of listening sockets can signal processes that are positively tied to the current app root. bin/dev clean refuses to remove generated output when shutdown is not verified.

The shutdown path uses the recorded ports together with the current configuration so defaulted service ports are not missed. It checks the actual Shakapacker development-server port rather than assuming that it is next to the Rails port. A process manager command also has a bounded wait, which allows the stop path to escalate instead of hanging forever.

References: react_on_rails/…/server_mode.rb• L11-75 react_on_rails/…/server_manager.rb• L39-79 react_on_rails/…/server_manager.rb• L101-167 react_on_rails/…/server_manager.rb• L190-245 react_on_rails/…/server_manager.rb• L301-365 react_on_rails/…/server_manager.rb• L443-495 react_on_rails/…/server_manager.rb• L501-529 react_on_rails/…/server_manager.rb• L860-895

Test asset readiness

The test helper protects browser and server-rendering tests from missing or stale generated assets. It checks the configured output files against the JavaScript source tree, compiles only when needed, and runs at most once in a test process. A running static watcher can provide fresh output, while a test watcher can keep output current in the background.

RSpec apps normally attach this check to JavaScript, server-rendering, and controller examples. The helper requires a build_test_command when it must compile assets itself. Apps should use either this helper or Shakapacker's test compilation setting for the same test path, not both as competing owners.

References: react_on_rails/…/test_helper.rb• L5-51 react_on_rails/…/test_helper.rb• L53-107 react_on_rails/…/ensure_assets_compiled.rb• L23-57 react_on_rails/…/webpack_assets_compiler.rb• L10-25

Diagnostic checks

The doctor command is the main operational check for a Rails integration. It reports failures when the Ruby and JavaScript packages do not match, when required Rails or bundler files are absent, when server-rendering output cannot be found, or when development and test workflows conflict. When React on Rails Pro uses NodeRenderer, it also gives a conservative check of renderer rollout capacity across two generations; unknown topology or unclear renderer configuration is reported as unverified rather than treated as proof of capacity.

Run the full diagnosis with bin/rails react_on_rails:doctor. Use FORMAT=json for automation or ONLY to focus on a named check. A JSON run preserves stable check IDs, status, severity, details, and remediation data. The report includes a schema version and exits with the same pass or failure result as text mode. A failed check returns a failing process status. The focused RSC task is available when the application uses React Server Components. These checks explain the application state; they do not replace the package build or Rails server.

References: react_on_rails/…/doctor.rake• L39-65 react_on_rails/…/doctor.rb• L242-273 react_on_rails/…/doctor.rb• L275-381 react_on_rails/…/doctor.rb• L421-466 react_on_rails/…/doctor.rb• L4015-4050 react_on_rails/…/system_checker.rb• L50-175 react_on_rails/…/system_checker.rb• L181-255 react_on_rails/…/system_checker.rb• L311-343

Change checklist

When these files or sections are changed, remember to consider these:

  • If the engine's boot order changes, verify both the normal Shakapacker path and a client-only app where Shakapacker is present but not configured as the bundler.
  • If configuration names or defaults change, check the generated initializer, package compatibility validation, manifest paths, and the doctor checks that describe those settings.
  • If a helper changes the emitted context, component specification, store hydration data, hydration schedule, or rendering mode, update the matching JavaScript registration and hydration contracts.
  • If controller store setup changes, keep the layout hydration helper and the browser store registration contract aligned.
  • If client startup or frame lifecycle changes, keep full-page loading, Turbo Frame replacement, detached-root cleanup, and the core and Pro startup boundaries aligned.
  • If client store dependency behavior changes, keep the Rails-emitted dependency attribute, on-demand store initialization, and one-store-per-page lifecycle aligned.
  • If renderer teardown or render-error handling changes, keep React-root cleanup, user-renderer cleanup, scheduler error reporting, and the documented async teardown limitation aligned.
  • If server-bundle paths or output rules change, review private-bundle enforcement, manifest lookup, deployment output, remote bundle loading, and the server-rendering transport.
  • If server-rendering errors or transport parsing changes, keep renderer connectivity checks, bundle-evaluation diagnostics, stream formats, and credential redaction aligned.
  • If development modes or precompile ownership changes, review Procfiles, bin/dev, test-watch reuse, and the SHAKAPACKER_SKIP_PRECOMPILE_HOOK handoff.
  • If development process ownership or port selection changes, keep session locks, app-root attribution, recorded ports, fallback listener scans, kill verification, and cleanup aligned.
  • If package compatibility rules change, update both the startup validator and the doctor report so boot behavior and diagnosis do not disagree.
  • If lockfile parsing or version fallback changes, check startup compatibility validation, nested-package advisory checks, local and workspace dependency exemptions, and the behavior for unreadable lockfiles.
  • If the install generator or RSC guardrails change, keep generated app guidance, managed Claude settings, hook replacement, and invalid-settings recovery aligned.
  • If doctor check IDs, schema version, or JSON fields change, preserve the machine-readable report contract for automation and update the NodeRenderer capacity check when its evidence or rollout assumptions change.

Important failure modes

TriggerConsequenceGuard
Ruby gem and JavaScript package versions differ or use an unsupported rangeRails boot stops before requests can render ReactKeep exact matching versions and run the doctor check
A lockfile uses an unsupported or unreadable formatVersion validation falls back to package.json; nested package advisory checks may report that they could not verify all copiesKeep supported lockfiles committed and treat debug fallback messages as setup signals
react_component names a component that is not registered in the client bundleThe page may contain server HTML but browser hydration cannot completeKeep Rails names and JavaScript registration names identical
Server rendering is enabled but the server bundle, remote renderer, or manifest is missingThe request raises a prerender or asset errorBuild the server bundle and verify its configured output path and renderer endpoint
A remote server bundle returns an unsupported or invalid character streamBundle loading stops before evaluationServe the bundle with the correct charset and inspect the sanitized load error
Automatic bundle loading is enabled without component source settings or nested entriesStartup or first render cannot find generated packsConfigure source folders and enable the required bundler entry behavior
Deferred Redux store data is used without redux_store_hydration_data in the layoutStores are created on the Rails side but are not hydrated in the browserKeep the hydration helper at the end of the shared layout
A component's declared store dependency data is malformed or names a store that is not readyThe client falls back to page-wide store initialization or logs the store error; a component that needs the store can still fail during renderKeep generated dependency data valid and register stores before the component uses them
A non-immediate hydration schedule is used with the Pro client rendererComponent option validation raises before renderingUse :immediate or the open-source client renderer
A visible hydration target has no IntersectionObserver supportHydration falls back to a short delayed renderProvide the browser API or allow the documented fallback
An open-source renderer's asynchronous teardown resolves after navigation or node replacementIts teardown is dropped and the renderer-owned mount may leakReturn a synchronous teardown when possible or use the Pro renderer for this race
REACT_ON_RAILS_PRERENDER_OVERRIDE contains a value other than true or falseThe override is ignored and the configured prerender policy remains activeUse a supported boolean string and check the warning
Test helper compilation is enabled without build_test_commandThe first matching JavaScript test exits before runningSet one test build command or let the bundler own test compilation
A development process manager is missing or a Procfile is absentbin/dev cannot start the coordinated Rails and asset processesInstall Overmind or Foreman and keep the generated Procfiles available
A development session has missing, foreign, malformed, or replaced ownership statebin/dev kill refuses to signal or verify uncertain processesStop the process from its own terminal and do not broaden cleanup authority
Cleanup uses an incorrect asset-server port or ignores a defaulted service portA live asset server remains while cleanup reports successUse the configured Shakapacker development-server port and recorded session ports
A private server bundle path resolves inside public/Server-only code can become publicly reachableEnable private-bundle enforcement and use a path outside public/
NodeRenderer rollout capacity cannot be proven from the active endpoint, launcher, or configurationThe doctor reports capacity as unverified and cannot confirm safe overlap for two deploy generationsUse a clear renderer topology and canonical launcher configuration, then rerun the capacity check
RSC guardrail settings are invalid or a managed hook target is unsafeGuardrails are not installed or the install stops before registrationFix .claude/settings.json and rerun the guardrail install from the app root
Shakapacker setup fails during installationThe app has partial generator output but is not ready to runComplete the reported bundle and package steps, then rerun the install

Key files

FileWhy to read it
react_on_rails/…/engine.rbShows the Rails boot hooks, startup validation, reload behavior, and integration with optional instrumentation.
react_on_rails/…/configuration.rbDefines the application-level policy for rendering, assets, bundles, and test workflows.
react_on_rails/…/helper.rbShows the Rails view boundary for components, stores, request context, and server-rendering output.
react_on_rails/…/controller.rbShows how controllers defer store setup for view hydration.
react_on_rails/…/form_responders.rbShows the optional Rails response shape for React form validation errors.
react_on_rails/…/render_options.rbDefines request-level prerender, hydration scheduling, and rendering-mode choices.
react_on_rails/…/packer_utils.rbExplains how the Rails side chooses live or built assets and checks bundler capabilities.
react_on_rails/…/ruby_embedded_java_script.rbShows how Rails loads server bundles, handles renderer transport, parses results, and reports failures.
react_on_rails/…/version_checker.rbShows how package specs resolve through lockfiles and how startup compatibility validation receives the result.
react_on_rails/…/lockfile_resolution.rbShows the supported lockfile families, safe fallback behavior, and all-copy version lookup used by security checks.
packages/…/clientStartup.tsShows when the browser starts the core renderer and how Turbo Frame updates enter the lifecycle.
packages/…/ClientRenderer.tsShows browser mount coordination, store preparation, deferred hydration, cleanup, and render-error behavior.
packages/…/ClientRenderer.test.tsDemonstrates the client lifecycle guarantees for replacement, scheduling, cleanup, and renderer failures.
react_on_rails/…/test_helper.rbShows how tests request fresh generated assets before relevant examples.
react_on_rails/…/server_manager.rbShows the coordinated development, test-watch, scoped shutdown, cleanup, and process-manager workflow.
react_on_rails/…/agent_guardrails.rbShows how optional RSC safety guidance is installed and registered in a host Rails app.
react_on_rails/…/system_checker.rbShows the shared prerequisite, package, Shakapacker, bundler, and Rails integration checks.
react_on_rails/…/doctor.rbDefines the operational checks, stable machine-readable diagnosis model, and optional NodeRenderer rollout capacity assessment.
react_on_rails/…/install_generator.rbShows how installation prepares Shakapacker, packages, CI wiring, examples, and the development launcher.
react_on_rails/lib/generators/react_on_rails/templates/base/base/config/initializers/react_on_rails.rb.ttShows the recommended configuration shape presented to a new Rails app.