/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
v18.3.0
fixtures/fizz/src/App.js
26 строк
561 B
Josh Story
[Fizz] Pipeable Stream Perf (#24291)
11 апр 2022, 19:13
Не верифицирован
11 апр 2022, 19:13
fa58002
Код
Авторство
О чём код?
/** * 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. * */ import Html from './Html'; import BigComponent from './BigComponent'; export default function App({assets, title}) { const components = []; for (let i = 0; i <= 250; i++) { components.push(<BigComponent key={i} />); } return ( <Html assets={assets} title={title}> <h1>{title}</h1> {components} <h1>all done</h1> </Html> ); }