Commit 6ba6295
committed
docs: address RSC doc review follow-ups (round 2)
- Add `connect(` to the RSC audit grep checklist so it stays
consistent with the "What to look for" section (which already lists
Redux `connect()` as requiring `'use client'`). The `(` suffix
avoids false positives like `connection`/`connected`.
- Replace the misleading "no require() call emitted" phrasing for
`resolve.fallback: false` with "imports resolve to nothing; no shim
bundled" — webpack resolves the import to an empty module rather
than suppressing the require() entirely.
- Make the `additionalContext` MessageChannel example self-contained
by showing `module.exports = config;` and linking to the node
renderer JS configuration reference.1 parent 7eb6c11 commit 6ba6295
2 files changed
Lines changed: 7 additions & 3 deletions
File tree
- docs
- oss/migrating
- pro/react-server-components
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
862 | 862 | | |
863 | 863 | | |
864 | 864 | | |
865 | | - | |
| 865 | + | |
866 | 866 | | |
867 | 867 | | |
868 | 868 | | |
| |||
872 | 872 | | |
873 | 873 | | |
874 | 874 | | |
875 | | - | |
| 875 | + | |
876 | 876 | | |
877 | 877 | | |
878 | 878 | | |
| |||
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
| 893 | + | |
| 894 | + | |
893 | 895 | | |
894 | 896 | | |
| 897 | + | |
| 898 | + | |
895 | 899 | | |
896 | 900 | | |
897 | 901 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments