mirror of
https://github.com/facebook/react.git
synced 2026-02-24 12:43:00 +00:00
Use the pre-built scheduler (which includes a check for 'window' being defined in order to load the right scheduler implementation) rather than just directly importing a version of the scheduler that relies on window. Since the scheduling profiler's code runs partially in a web worker, it can't rely on window.
Experimental React Concurrent Mode Profiler
https://react-devtools-scheduling-profiler.vercel.app/
Setting up continuous deployment with CircleCI and Vercel
These instructions are intended for internal use, but may be useful if you are setting up a custom production deployment of the scheduling profiler.
- Create a Vercel token at https://vercel.com/account/tokens.
- Configure CircleCI:
- In CircleCI, navigate to the repository's Project Settings.
- In the Advanced tab, ensure that "Pass secrets to builds from forked pull requests" is set to false.
- In the Environment Variables tab, add the Vercel token as a new
SCHEDULING_PROFILER_DEPLOY_VERCEL_TOKENenvironment variable.
The Vercel project will be created when the deploy job runs.