jiuyiUniapp/service/node_modules/react-native/ReactCommon/react/renderer/mounting/updateMountedFlag.h

20 lines
513 B
C
Raw Normal View History

2025-02-13 09:59:20 +08:00
/*
* 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>
namespace facebook::react {
/*
* Traverses the shadow tree and updates the `mounted` flag on all nodes.
*/
void updateMountedFlag(
const ShadowNode::ListOfShared& oldChildren,
const ShadowNode::ListOfShared& newChildren);
} // namespace facebook::react