From 8eef74fb4b352d83cc161007e0bc65bb157f306e Mon Sep 17 00:00:00 2001 From: Fakhruddin Ali Hussain Date: Mon, 27 Jun 2022 10:29:33 -0700 Subject: [PATCH] Fixed scheduler priority module link --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e272db3..f9eb304 100644 --- a/README.md +++ b/README.md @@ -199,7 +199,7 @@ When the incoming `pendingProps` are equal to `memoizedProps`, it signals that t #### `pendingWorkPriority` -A number indicating the priority of the work represented by the fiber. The [ReactPriorityLevel](https://github.com/facebook/react/blob/master/src/renderers/shared/fiber/ReactPriorityLevel.js) module lists the different priority levels and what they represent. +A number indicating the priority of the work represented by the fiber. The [SchedulerPriorities](https://github.com/facebook/react/blob/main/packages/scheduler/src/SchedulerPriorities.js) module lists the different priority levels and what they represent. With the exception of `NoWork`, which is 0, a larger number indicates a lower priority. For example, you could use the following function to check if a fiber's priority is at least as high as the given level: