mirror of
https://github.com/react/react.git
synced 2026-10-07 04:10:28 +08:00
To make sure we don't reset the priority of a down-prioritized fiber, we compare the priority we're currently rendering at to the fiber's work priority. If the work priority is lower, then we know not to reset the work priority.