dillon1000/react
Commit
Browse files set priority on TaskController instead of on postTask/yield (#27295)
## Summary passing both a signal and a priority to `postTask`/`yield` in chrome causes memory to spike and potentially causes OOMs. a fix for this has landed in chrome 118, but we can avoid the issue in earlier versions by setting priority on just the TaskController instead. https://bugs.chromium.org/p/chromium/issues/detail?id=1469367 ## How did you test this change? ``` yarn test SchedulerPostTask ```
Changed paths2 files
First-parent comparisonpackages/scheduler/src/__tests__/SchedulerPostTask-test.js ModifiedM packages/scheduler/src/forks/SchedulerPostTask.js ModifiedPatch
Files changed
Rendering syntax-highlighted changes…