Commit b7171e5
Add ror_components wrapper for ReScript component
The react_on_rails gem auto-generates component registration by scanning
for ror_components/ subdirectories. When we migrated to .res.js, we
deleted the old ror_components wrapper, breaking auto-registration.
Created a thin wrapper that imports the .res.js file and re-exports it
for react_on_rails to discover and register.
This fixes the CI error:
"Could not find component registered with name RescriptShow"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 13449f0 commit b7171e5
File tree
1 file changed
+6
-0
lines changed- client/app/bundles/comments/rescript/ReScriptShow/ror_components
1 file changed
+6
-0
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
0 commit comments