Repository navigation
Commit 5117201
[lts-active] Avoid loading standalone React in server bootstrap (#100610)
Backports #100467 and #100401 to `releases/lts/active`.
#100401 defers React loading in `dedupe-fetch.ts`; it builds on #100467,
which separates render validation from dynamic tracking and moves the
fetch-patch marker into a standalone module so server bootstrap imports
cannot reach React. Backported together since the goal of #100401 is
only achieved with the #100467 groundwork.
---------
Co-authored-by: Jan Kassens <kassens@vercel.com>
Co-authored-by: Claude Code <noreply@anthropic.com>1 parent 37d603b commit 5117201
8 files changed
Lines changed: 1184 additions & 1189 deletions
File tree
- packages/next/src/server
- app-render
- lib
- test/production/next-server-nft
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
183 | 187 | | |
184 | 188 | | |
185 | 189 | | |
186 | 190 | | |
187 | | - | |
188 | | - | |
189 | 191 | | |
190 | 192 | | |
191 | 193 | | |
| |||
200 | 202 | | |
201 | 203 | | |
202 | 204 | | |
203 | | - | |
| 205 | + | |
204 | 206 | | |
205 | 207 | | |
206 | 208 | | |
| |||
0 commit comments