Pro RSC migration: tutorial on React on Rails Pro with a React Server Components demo #1031
Annotations
6 errors and 2 warnings
|
test (22.x, 3.4.6)
Process completed with exit code 1.
|
|
test (22.x, 3.4.6):
client/app/bundles/server-components/ror_components/ServerComponentsPage.jsx#L11
'comments' is missing in props validation
|
|
test (22.x, 3.4.6):
client/app/bundles/server-components/ror_components/LiveActivity.jsx#L4
'simulateError' is missing in props validation
|
|
test (22.x, 3.4.6):
client/app/bundles/server-components/components/LiveActivityRefresher.jsx#L73
Do not define components during render. React will see a new component type on every render and destroy the entire subtree’s DOM nodes and state (https://reactjs.org/docs/reconciliation.html#elements-of-different-types). Instead, move this component definition out of the parent component “LiveActivityRefresher” and pass data as props. If you want to allow component creation in props, set allowAsProps option to true
|
|
test (22.x, 3.4.6):
client/app/bundles/server-components/components/CommentsFeed.jsx#L12
'comments' is missing in props validation
|
|
test (22.x, 3.4.6):
client/app/bundles/comments/components/SimpleCommentScreen/ror_components/SimpleCommentScreen.jsx#L1
File has too many classes (2). Maximum allowed is 1
|
|
test (22.x, 3.4.6)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v3, actions/setup-node@v3. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test (22.x, 3.4.6):
client/app/bundles/server-components/components/CommentsFeed.jsx#L69
Dangerous property 'dangerouslySetInnerHTML' found
|