mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
5bf2323880
ghstack-source-id: f2c8a542b525ab8c91beaad6327c128a96d122f6 Pull Request resolved: https://github.com/facebook/react-forget/pull/2827
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.