/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
packages/shared/ReactElementType.js
26 строк
597 B
Sebastian Markbåge
[Fiber] Use Owner/JSX Stack When Appending Stacks to Console (#29206)
25 май 2024, 18:58
Не верифицирован
25 май 2024, 18:58
d6cfa0f
Код
Авторство
О чём код?
/** * 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 */ import type {ReactDebugInfo} from './ReactTypes'; export type ReactElement = { $$typeof: any, type: any, key: any, ref: any, props: any, // __DEV__ or for string refs _owner: any, // __DEV__ _store: {validated: 0 | 1 | 2, ...}, // 0: not validated, 1: validated, 2: force fail _debugInfo: null | ReactDebugInfo, _debugStack: Error, _debugTask: null | ConsoleTask, };