/
githubmr
/
facebook-react-native
Обзор
Документация
Войти
/
githubmr
/
facebook-react-native
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/react-native/ReactCommon/react/renderer/mounting/updateMountedFlag.h
21 строка
646 B
Samuel Susla
Deprecate ShadowNode::ListOfShared and migrate to std::vector<std::shared_ptr<const ShadowNode>> (#52402)
07 июл 2025, 16:15
07 июл 2025, 16:15
1c51d66
Код
Авторство
О чём код?
/* * 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. */ #pragma once #include <react/renderer/core/ShadowNode.h> #include <react/renderer/mounting/ShadowTree.h> namespace facebook::react { /* * Traverses the shadow tree and updates the `mounted` flag on all nodes. */ void updateMountedFlag( const std::vector<std::shared_ptr<const ShadowNode>>& oldChildren, const std::vector<std::shared_ptr<const ShadowNode>>& newChildren, ShadowTreeCommitSource commitSource); } // namespace facebook::react