| 1 | /** |
| 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. |
| 3 | * |
| 4 | * This source code is licensed under the MIT license found in the |
| 5 | * LICENSE file in the root directory of this source tree. |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | import Html from './Html'; |
| 10 | import BigComponent from './BigComponent'; |
| 11 | |
| 12 | export default function App({assets, title}) { |
| 13 | const components = []; |
| 14 | |
| 15 | for (let i = 0; i <= 250; i++) { |
| 16 | components.push(<BigComponent key={i} />); |
| 17 | } |
| 18 | |
| 19 | return ( |
| 20 | <Html assets={assets} title={title}> |
| 21 | <h1>{title}</h1> |
| 22 | {components} |
| 23 | <h1>all done</h1> |
| 24 | </Html> |
| 25 | ); |
| 26 | } |