#727 (Pro RSC migration) tactically reversed this repo's bundler from rspack to webpack because react-on-rails-rsc/WebpackPlugin (used by the RSC bundle build) requires webpack APIs that rspack 2.0.0-beta.7's compatibility layer doesn't cover. The reversal is tracked by a TODO in config/shakapacker.yml.
Once shakacode/react_on_rails_rsc#29 ships its RSCRspackPlugin (rspack-native parallel to RSCWebpackPlugin), this repo should flip back: webpack → rspack throughout. The exact import paths, export names, and any companion loader APIs should be taken from upstream's published surface at the time of the flip, not from this issue.
Starting point for the agent picking this up: git grep -nE "webpack|WebpackPlugin|WebpackLoader|@rspack|rspack" config/ Procfile.dev README.md against the merge commit of #727 (2f7d3330) — that surfaces every place affected by the temporary state. Verify each replacement against the published upstream API at flip time.
Verification after flipping: redeploy review-app + manual QA on /server-components (all four sections render, RSC payloads stream, Refresh / Simulate Error / Retry flow works without page-shift artifacts).
#727 (Pro RSC migration) tactically reversed this repo's bundler from rspack to webpack because
react-on-rails-rsc/WebpackPlugin(used by the RSC bundle build) requires webpack APIs that rspack 2.0.0-beta.7's compatibility layer doesn't cover. The reversal is tracked by aTODOinconfig/shakapacker.yml.Once shakacode/react_on_rails_rsc#29 ships its
RSCRspackPlugin(rspack-native parallel toRSCWebpackPlugin), this repo should flip back: webpack → rspack throughout. The exact import paths, export names, and any companion loader APIs should be taken from upstream's published surface at the time of the flip, not from this issue.Starting point for the agent picking this up:
git grep -nE "webpack|WebpackPlugin|WebpackLoader|@rspack|rspack" config/ Procfile.dev README.mdagainst the merge commit of #727 (2f7d3330) — that surfaces every place affected by the temporary state. Verify each replacement against the published upstream API at flip time.Verification after flipping: redeploy review-app + manual QA on
/server-components(all four sections render, RSC payloads stream, Refresh / Simulate Error / Retry flow works without page-shift artifacts).