Commit fb5bc4f
docs: address RSC pitfalls review follow-ups (#3155)
Applies the documentation review comments surfaced against PR #3087:
- Add missing `runs-on: ubuntu-latest` to the CI workflow example in
node-renderer/basics.md so the snippet is copy-paste valid.
- Correct the `resolve.fallback: false` inline comment in
rsc-troubleshooting.md to match the surrounding explanation
("omit the module" rather than "provide empty modules").
- Expand the upgrading-existing-pro-app audit checklist to include the
React, React DOM, router, and ReactOnRails hook names that were
listed in "What to look for" but missing from the checklist.
- Reorder the MessageChannel troubleshooting section to lead with the
recommended `additionalContext` fix and demote BannerPlugin to a
fallback, so users encounter the preferred option first.
- Clarify `fetch` under "Browser APIs": it is a Node.js global since v18
and works in Server Components; only flag it when called inside a
`useEffect` (already covered by the hooks list).
Fixes #3155
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent 4eb8364 commit fb5bc4f
3 files changed
Lines changed: 18 additions & 7 deletions
File tree
- docs
- oss
- building-features/node-renderer
- migrating
- pro/react-server-components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| 160 | + | |
160 | 161 | | |
161 | 162 | | |
162 | 163 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
863 | 863 | | |
864 | 864 | | |
865 | 865 | | |
866 | | - | |
| 866 | + | |
867 | 867 | | |
868 | 868 | | |
869 | 869 | | |
| |||
881 | 881 | | |
882 | 882 | | |
883 | 883 | | |
884 | | - | |
| 884 | + | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
| 888 | + | |
| 889 | + | |
| 890 | + | |
| 891 | + | |
| 892 | + | |
| 893 | + | |
| 894 | + | |
| 895 | + | |
| 896 | + | |
885 | 897 | | |
886 | 898 | | |
887 | 899 | | |
| |||
914 | 926 | | |
915 | 927 | | |
916 | 928 | | |
917 | | - | |
918 | | - | |
919 | | - | |
| 929 | + | |
920 | 930 | | |
921 | 931 | | |
922 | 932 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments