Commit 6049258
committed
Merge branch 'main' of ssh://github.com/GrinZero/react
* 'main' of ssh://github.com/GrinZero/react: (163 commits)
Do not unmount layout effects if ancestor Offscreen is hidden (facebook#25628)
Remove check in renderDidSuspendDelayIfPossible (facebook#25630)
[ServerRenderer] Move fizz external runtime implementation to react-dom-bindings (facebook#25617)
Unwrap sync resolved thenables without suspending (facebook#25615)
refactor isHostResourceType to not receive the context from reconciler and not leak types (facebook#25610)
Make host context use null as empty and only error in dev (facebook#25609)
[Float] handle resource Resource creation inside svg context (facebook#25599)
Allow uncached IO to stablize (facebook#25561)
[ServerRenderer] Setup for adding data attributes streaming format (facebook#25567)
Do not unmount layout effects on initial Offscreen mount (facebook#25592)
Fix type check for null (facebook#25595)
Clean up vestige of useOpaqueIdentifier (facebook#25587)
Extract logic for detecting bad fallback to helper
Split suspended work loop logic into separate functions
In work loop, add enum of reasons for suspending
Strict Mode: Reuse memoized result from first pass (facebook#25583)
Detect and warn if use(promise) is wrapped with try/catch block (facebook#25543)
Remove old react-fetch, react-fs and react-pg libraries (facebook#25577)
Try assigning fetch to globalThis if global assignment fails (facebook#25571)
[Float] handle noscript context for Resources (facebook#25559)
...
# Conflicts:
# scripts/rollup/build.js1,558 files changed
Lines changed: 29101 additions & 12466 deletions
File tree
- .circleci
- fixtures
- art
- attribute-behavior
- blocks
- src
- client
- server
- dom/src/__tests__
- expiration
- fiber-debugger
- fizz-ssr-browser
- fizz
- scripts
- server
- src
- flight-browser
- flight
- server
- src
- legacy-jsx-runtimes
- react-14
- cjs
- react-15
- cjs
- react-16
- cjs
- react-17
- cjs
- packaging/brunch/dev
- ssr2
- scripts
- server
- src
- packages
- dom-event-testing-library
- __tests__
- eslint-plugin-react-hooks
- __tests__
- src
- jest-react
- src
- react-art
- npm
- src
- __tests__
- react-cache
- src
- __tests__
- react-client
- src
- __tests__
- forks
- react-debug-tools
- src
- __tests__
- react-devtools-core
- src
- react-devtools-extensions
- chrome
- edge
- firefox
- src
- contentScripts
- react-devtools-inline
- src
- react-devtools-shell/src
- app
- DeeplyNestedComponents
- EditableProps
- ElementTypes
- ErrorBoundaries
- Hydration
- InspectableElements
- PartiallyStrictApp
- ReactNativeWeb
- SuspenseTree
- ToDoList
- e2e-apps
- react-devtools-timeline
- src
- content-views
- utils
- __tests__
- __modules__
- import-worker
- utils
- view-base
- __tests__
- resizable
- utils
- __tests__
- vertical-scroll-overflow
- react-devtools
- react-dom-bindings
- src
- client
- events
- forks
- plugins
- server
- fizz-instruction-set
- react-dom
- npm
- src
- __tests__
- utils
- client
- __tests__
- events
- __tests__
- plugins/__tests__
- server
- test-utils
- react-fetch
- npm
- src
- __tests__
- react-fs
- npm
- src
- react-interactions/events
- src/dom/create-event-handle
- __tests__
- react-is
- src
- __tests__
- react-native-renderer
- src
- __mocks__/react-native/Libraries/ReactPrivate
- __tests__
- legacy-events
- server
- react-noop-renderer
- src
- react-pg
- npm
- src
- react-reconciler
- src
- __mocks__/scheduler
- __tests__
- forks
- react-refresh
- src
- __tests__
- react-server-dom-relay
- src
- __mocks__
- __tests__
- react-server-dom-webpack
- esm
- npm
- src
- __tests__
- utils
- react-server-native-relay
- src
- __mocks__
- __tests__
- __snapshots__
- react-server
- src
- __tests__
- forks
- react-suspense-test-utils
- src
- react-test-renderer
- src
- __tests__
- react
- src
- __tests__
- testDefinitions
- forks
- jsx
- scheduler
- npm/umd
- src
- __tests__
- forks
- use-subscription
- src
- __tests__
- use-sync-external-store
- shim
- with-selector
- src
- __tests__
- forks
- scripts
- babel
- __tests__
- devtools
- error-codes
- __tests__
- eslint-rules
- __tests__
- eslint
- flow
- config
- jest
- matchers/__tests__
- spec-equivalence-reporter
- perf-counters/src
- prettier
- print-warnings
- release
- rollup
- plugins
- shims
- facebook-www
- react-native
- validate
- tasks
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
14 | 94 | | |
15 | 95 | | |
16 | 96 | | |
17 | 97 | | |
18 | 98 | | |
19 | | - | |
| 99 | + | |
20 | 100 | | |
21 | 101 | | |
22 | 102 | | |
| |||
41 | 121 | | |
42 | 122 | | |
43 | 123 | | |
44 | | - | |
| 124 | + | |
45 | 125 | | |
46 | 126 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
68 | 132 | | |
69 | 133 | | |
70 | 134 | | |
71 | 135 | | |
72 | 136 | | |
73 | 137 | | |
74 | 138 | | |
75 | | - | |
76 | 139 | | |
77 | 140 | | |
78 | 141 | | |
| |||
87 | 150 | | |
88 | 151 | | |
89 | 152 | | |
90 | | - | |
91 | 153 | | |
92 | 154 | | |
93 | 155 | | |
| |||
97 | 159 | | |
98 | 160 | | |
99 | 161 | | |
100 | | - | |
101 | 162 | | |
102 | 163 | | |
103 | 164 | | |
| |||
114 | 175 | | |
115 | 176 | | |
116 | 177 | | |
117 | | - | |
118 | 178 | | |
119 | 179 | | |
120 | 180 | | |
| |||
130 | 190 | | |
131 | 191 | | |
132 | 192 | | |
133 | | - | |
134 | 193 | | |
135 | 194 | | |
136 | 195 | | |
| |||
148 | 207 | | |
149 | 208 | | |
150 | 209 | | |
151 | | - | |
152 | 210 | | |
153 | 211 | | |
154 | 212 | | |
| |||
177 | 235 | | |
178 | 236 | | |
179 | 237 | | |
180 | | - | |
181 | 238 | | |
182 | 239 | | |
183 | 240 | | |
| |||
197 | 254 | | |
198 | 255 | | |
199 | 256 | | |
200 | | - | |
201 | 257 | | |
202 | 258 | | |
203 | 259 | | |
| |||
209 | 265 | | |
210 | 266 | | |
211 | 267 | | |
212 | | - | |
213 | 268 | | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | 269 | | |
218 | 270 | | |
219 | 271 | | |
| |||
228 | 280 | | |
229 | 281 | | |
230 | 282 | | |
231 | | - | |
232 | 283 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | 284 | | |
237 | 285 | | |
238 | 286 | | |
| |||
254 | 302 | | |
255 | 303 | | |
256 | 304 | | |
257 | | - | |
258 | 305 | | |
259 | | - | |
260 | | - | |
261 | | - | |
262 | 306 | | |
263 | 307 | | |
264 | 308 | | |
| |||
273 | 317 | | |
274 | 318 | | |
275 | 319 | | |
276 | | - | |
277 | 320 | | |
278 | | - | |
279 | | - | |
280 | | - | |
281 | 321 | | |
282 | 322 | | |
283 | 323 | | |
| |||
301 | 341 | | |
302 | 342 | | |
303 | 343 | | |
304 | | - | |
305 | 344 | | |
306 | 345 | | |
307 | 346 | | |
| |||
312 | 351 | | |
313 | 352 | | |
314 | 353 | | |
315 | | - | |
316 | 354 | | |
317 | 355 | | |
318 | 356 | | |
| |||
323 | 361 | | |
324 | 362 | | |
325 | 363 | | |
326 | | - | |
327 | 364 | | |
328 | 365 | | |
329 | 366 | | |
330 | 367 | | |
331 | 368 | | |
332 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
333 | 383 | | |
334 | 384 | | |
335 | 385 | | |
| |||
340 | 390 | | |
341 | 391 | | |
342 | 392 | | |
343 | | - | |
344 | 393 | | |
345 | 394 | | |
346 | 395 | | |
| |||
355 | 404 | | |
356 | 405 | | |
357 | 406 | | |
358 | | - | |
359 | 407 | | |
360 | | - | |
361 | | - | |
362 | | - | |
363 | 408 | | |
364 | 409 | | |
365 | 410 | | |
| |||
369 | 414 | | |
370 | 415 | | |
371 | 416 | | |
372 | | - | |
373 | 417 | | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
374 | 422 | | |
375 | 423 | | |
376 | 424 | | |
377 | 425 | | |
| 426 | + | |
378 | 427 | | |
379 | | - | |
380 | | - | |
381 | 428 | | |
382 | 429 | | |
383 | 430 | | |
| |||
386 | 433 | | |
387 | 434 | | |
388 | 435 | | |
389 | | - | |
390 | 436 | | |
391 | 437 | | |
392 | 438 | | |
| |||
406 | 452 | | |
407 | 453 | | |
408 | 454 | | |
409 | | - | |
410 | 455 | | |
411 | 456 | | |
412 | 457 | | |
| |||
425 | 470 | | |
426 | 471 | | |
427 | 472 | | |
428 | | - | |
429 | 473 | | |
430 | 474 | | |
431 | 475 | | |
| |||
463 | 507 | | |
464 | 508 | | |
465 | 509 | | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
466 | 513 | | |
467 | 514 | | |
468 | 515 | | |
| |||
676 | 723 | | |
677 | 724 | | |
678 | 725 | | |
679 | | - | |
| |||
0 commit comments