PHP WebShell

Текущая директория: /usr/lib/node_modules/bitgo/node_modules/react-native/ReactCommon/react/renderer/mounting

Просмотр файла: updateMountedFlag.h

/*
 * 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

Выполнить команду


Для локальной разработки. Не используйте в интернете!