/
githubmr
/
facebook-react
Обзор
Документация
Войти
/
githubmr
/
facebook-react
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
main
fixtures/ssr2/src/Post.js
28 строк
763 B
Andrew Clark
[Codemod] Update copyright header to Meta (#25315)
18 окт 2022, 18:19
Не верифицирован
18 окт 2022, 18:19
9cdf8a9
Код
Авторство
О чём код?
/** * 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. * */ export default function Post() { return ( <> <h1>Hello world</h1> <p> This demo is <b>artificially slowed down</b>. Open{' '} <code>server/delays.js</code> to adjust how much different things are slowed down. </p> <p> Notice how HTML for comments "streams in" before the JS (or React) has loaded on the page. </p> <p> Also notice that the JS for comments and sidebar has been code-split, but HTML for it is still included in the server output. </p> </> ); }