Commit ba33548
Clean up
Summary:
The `enableEagerAlternateStateNodeCleanup` flag is no longer read by the renderer, so the feature-flag definition and the two prelude overrides that forced it on become dead code. Drop the flag entry from `ReactNativeInternalFeatureFlags` (incl. its test mirror and the Fantom mock) and remove the `= true` assignments from the Airwave and FB4TV preludes. The dedicated `VirtualView-enableEagerAlternateStateNodeCleanup-itest.js` is folded into `VirtualView-itest.js`'s `memory management` describe so the shadow-node retention regression test continues to run, just no longer keyed on a non-existent flag.
Vendored React (`react-devtools-facade`), the append-only mobileconfig stable_id, and the generated `react-devtools-core` bundles are intentionally untouched.
Changelog:
[Internal]
Differential Revision: D110043719enableEagerAlternateStateNodeCleanup
1 parent 318bb21 commit ba33548
3 files changed
Lines changed: 23 additions & 53 deletions
File tree
- packages/react-native/src/private/components/virtualview/__tests__
- private/react-native-fantom/runtime/mocks
Lines changed: 0 additions & 47 deletions
This file was deleted.
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
291 | 292 | | |
292 | 293 | | |
293 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
294 | 317 | | |
295 | 318 | | |
296 | 319 | | |
| |||
Lines changed: 0 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | 12 | | |
19 | 13 | | |
20 | 14 | | |
| |||
0 commit comments