mirror of
https://github.com/facebook/react.git
synced 2026-02-25 13:13:03 +00: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.