Conversation
WalkthroughRescriptShow was removed from client and server ReactOnRails registrations by commenting out imports and omitting it from register calls. Other registrations remain intact. Additionally, package.json updates the dependency @glennsl/rescript-json-combinators from ^1.2.1 to ^1.4.0. Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant RailsApp
participant ReactOnRails
participant RescriptShow as (Removed) RescriptShow
Note over ReactOnRails: Registry updated (RescriptShow not registered)
User->>RailsApp: Request page
RailsApp->>ReactOnRails: Resolve component "RescriptShow"
ReactOnRails-->>RailsApp: Component not found
RailsApp-->>User: Render without RescriptShow (or fallback)
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (3)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
cdbfe8d to
aa7a7b6
Compare
This reverts the upgrade to React on Rails 16.0.1.rc.2 due to breaking changes: 1. Server bundle path resolution regression - React on Rails 16 looks for bundles in /public/webpack/test/ but Shakapacker 8.0.0 outputs to /public/packs/ 2. ReScript compatibility issues - rescript-react-on-rails only supports React on Rails v10 The ReScript components have been temporarily disabled by commenting out imports and registrations in both client-bundle.js and server-bundle.js. This establishes a stable baseline for systematic upgrades: - Next: Upgrade Shakapacker to 8.4 (separate PR) - Then: Upgrade React on Rails to 16.x with proper compatibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This change is
Summary by CodeRabbit
Refactor
Chores