react/fixtures/fizz
Andrew Clark 9cdf8a99ed
[Codemod] Update copyright header to Meta (#25315)
* Facebook -> Meta in copyright

rg --files | xargs sed -i 's#Copyright (c) Facebook, Inc. and its affiliates.#Copyright (c) Meta Platforms, Inc. and affiliates.#g'

* Manual tweaks
2022-10-18 11:19:24 -04:00
..
public [Fizz] Pipeable Stream Perf (#24291) 2022-04-11 09:13:44 -07:00
scripts [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
server [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
src [Codemod] Update copyright header to Meta (#25315) 2022-10-18 11:19:24 -04:00
package.json [Fizz] Pipeable Stream Perf (#24291) 2022-04-11 09:13:44 -07:00
README.md Fix: Documentation typos (#24471) 2022-09-29 12:46:53 -04:00
yarn.lock Bump terser from 4.8.0 to 4.8.1 in /fixtures/fizz (#24974) 2022-09-08 10:27:54 -04:00

Fizz Fixtures

A set of basic tests for Fizz primarily focused on baseline performance of legacy renderToString and streaming implementations.

Setup

To reference a local build of React, first run npm run build at the root of the React project. Then:

cd fixtures/fizz
yarn
yarn start

The start command runs a webpack dev server and a server-side rendering server in development mode with hot reloading.

Note: whenever you make changes to React and rebuild it, you need to re-run yarn in this folder:

yarn

If you want to try the production mode instead run:

yarn start:prod

This will pre-build all static resources and then start a server-side rendering HTTP server that hosts the React app and service the static resources (without hot reloading).