-
Notifications
You must be signed in to change notification settings - Fork 373
Bump React on Rails RC dependencies #768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||
|---|---|---|---|---|---|---|---|---|
|
|
@@ -78,13 +78,13 @@ | |||||||
| "postcss-loader": "7.3.3", | ||||||||
| "postcss-preset-env": "^8.5.0", | ||||||||
| "prop-types": "^15.8.1", | ||||||||
| "react": "~19.0.4", | ||||||||
| "react-dom": "~19.0.4", | ||||||||
| "react": "~19.2.7", | ||||||||
| "react-dom": "~19.2.7", | ||||||||
|
Comment on lines
+81
to
+82
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Version triangle: three RSC packages must stay in lockstep but have independent pins
Consider anchoring all three together via a "resolutions": {
"react": "~19.2.7",
"react-dom": "~19.2.7",
"react-server-dom-webpack": "~19.2.7"
}Or at minimum add a comment above all three entries calling out that they must be bumped together. |
||||||||
| "react-error-boundary": "^4.1.2", | ||||||||
| "react-intl": "^6.4.4", | ||||||||
| "react-on-rails-pro": "17.0.0-rc.3", | ||||||||
| "react-on-rails-pro-node-renderer": "17.0.0-rc.3", | ||||||||
| "react-on-rails-rsc": "19.0.5-rc.7", | ||||||||
| "react-on-rails-pro": "17.0.0-rc.6", | ||||||||
| "react-on-rails-pro-node-renderer": "17.0.0-rc.6", | ||||||||
| "react-on-rails-rsc": "19.2.0-rc.3", | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This version introduces
Suggested change
Adding it as a direct dependency makes the constraint explicit, ensures it moves in lockstep with |
||||||||
| "react-redux": "^8.1.0", | ||||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Consider upgrading to |
||||||||
| "react-router": "^6.13.0", | ||||||||
| "react-router-dom": "^6.13.0", | ||||||||
|
|
||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The base
react_on_railsgem (at 17.0.0.rc.6) is not directly pinned here — it only appears in the lockfile as a transitive dep ofreact_on_rails_pro. RC gems can be yanked from RubyGems.org; if that happens,bundle installfails on fresh checkouts with no recourse.Consider adding a direct pin: