/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
private/react-native-fantom/runtime/mocks/ReactNativeInternalFeatureFlags.js
19 строк
691 B
Jack Pope
Enable Fragment Refs for intersection observers on Fabric (#52474)
10 июл 2025, 02:03
10 июл 2025, 02:03
d18f1f7
Код
Авторство
О чём код?
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict-local * @format */ module.exports = { // When enableEagerAlternateStateNodeCleanup is enabled, alternate.stateNode is proactively // pointed towards finishedWork's stateNode, releasing resources sooner. // With enableEagerAlternateStateNodeCleanup enabled, we can remove workarounds in tests // and have predictable memory model. // See https://github.com/facebook/react/pull/33161 for details. enableEagerAlternateStateNodeCleanup: true, enableFragmentRefs: true, };