dillon1000/react

Commit

Update scheduling profiler Webpack config (#20867)

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.
Browse files
Changed paths1 file
First-parent comparison
M packages/react-devtools-scheduling-profiler/webpack.config.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…