Skip to content

RSC docs: add standalone upgrade guide for existing Pro apps #2425

@justin808

Description

@justin808

Problem

After #2284 (and follow-up compatibility work in #2424), there are now two real-world webpack export shapes in existing Pro apps:

  • legacy: module.exports = configureServer
  • current: module.exports = { default: configureServer, extractLoader }

The standalone rails g react_on_rails:rsc path now supports both, but docs still read as if everyone is on the latest shape.

Proposal

Add a dedicated docs section: "Upgrading an Existing React on Rails Pro App to RSC".

Suggested content:

  1. Prerequisites and version checks (React 19.0.x, Pro installed).
  2. Runbook for standalone react_on_rails:rsc usage.
  3. What files are expected to change.
  4. Compatibility note for legacy serverWebpackConfig.js export style.
  5. How to verify success (rsc-bundle, route check, page render check).

Acceptance Criteria

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions