/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
v17.0.2
packages/react-devtools-scheduling-profiler/src/App.js
34 строки
856 B
E-Liang Tan
Scheduling Profiler: Move preprocessing to web worker and add loading indicator (#19759)
04 сен 2020, 17:57
Не верифицирован
04 сен 2020, 17:57
eabd18c
Код
Авторство
О чём код?
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow */ // Reach styles need to come before any component styles. // This makes overriding the styles simpler. import '@reach/menu-button/styles.css'; import '@reach/tooltip/styles.css'; import * as React from 'react'; import {SchedulingProfiler} from './SchedulingProfiler'; import {useBrowserTheme, useDisplayDensity} from './hooks'; import styles from './App.css'; import 'react-devtools-shared/src/devtools/views/root.css'; export default function App() { useBrowserTheme(); useDisplayDensity(); return ( <div className={styles.DevTools}> <div className={styles.TabContent}> <SchedulingProfiler /> </div> </div> ); }