/
ashipov
/
react
Обзор
Документация
Войти
/
ashipov
/
react
Код
Запросы
0
Задачи 2.0
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
packages/react-devtools-shell/src/app/InspectableElements/InspectableElements.js
45 строк
1 KB
Ruslan Lesiutin
[DevTools] chore: add useSyncExternalStore examples to shell (#34932)
21 окт 2025, 15:51
Не верифицирован
21 окт 2025, 15:51
613cf80
Код
Авторство
О чём код?
/** * 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 * as React from 'react'; import {Fragment} from 'react'; import UnserializableProps from './UnserializableProps'; import CircularReferences from './CircularReferences'; import Contexts from './Contexts'; import CustomHooks from './CustomHooks'; import CustomObject from './CustomObject'; import EdgeCaseObjects from './EdgeCaseObjects.js'; import NestedProps from './NestedProps'; import SimpleValues from './SimpleValues'; import SymbolKeys from './SymbolKeys'; import UseMemoCache from './UseMemoCache'; import UseEffectEvent from './UseEffectEvent'; import UseSyncExternalStore from './UseSyncExternalStore'; // TODO Add Immutable JS example export default function InspectableElements(): React.Node { return ( <Fragment> <h1>Inspectable elements</h1> <SimpleValues /> <UnserializableProps /> <NestedProps /> <Contexts /> <CustomHooks /> <CustomObject /> <EdgeCaseObjects /> <CircularReferences /> <SymbolKeys /> <UseMemoCache /> <UseEffectEvent /> <UseSyncExternalStore /> </Fragment> ); }