Files
react/compiler/apps/playground
Lauren Tan 5bf2323880 Fix missing playground snapshot
ghstack-source-id: f2c8a542b525ab8c91beaad6327c128a96d122f6
Pull Request resolved: https://github.com/facebook/react-forget/pull/2827
2024-04-08 11:23:29 -04:00
..
2023-10-23 15:41:01 +01:00

React Forget Playground

An interactive playground to demonstrate, test, and have fun with React Forget.

Setup

# Build Forget from source and install Playground dependencies.
$ yarn

# Or similarly
$ npm install

Development

# Start the local development server with
$ yarn dev

# Or
$ npm run dev

# Rerun the following (in a separate terminal window) when Forget
# is changed locally to keep Playground in sync.
$ yarn

Deployment

This project has been deployed using Vercel. Vercel does the exact same thing as we would locally, by running yarn at the install step in the Playground directory to build Forget from source and symlink it as its dependency. This means that Playground is automatically deployed on every push and pull requests will reflect the behaviors of Forget of that commit.