mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
2c37aa78d3
This diff adds styling to the compiler options editor. The floating input/output toggle button on small screens now spans the bottom of the screen, so that it doesn't block the compiler options. Height overflows when adjusting screen size are complicated by Monaco Editor and will be addressed in a later diff. Test plan: Start Playground and see the latest look of the compiler options editor beneath the output section.
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.