Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b63cb6f commit 517de74Copy full SHA for 517de74
packages/react-reconciler/src/ReactFiberExpirationTime.js
@@ -43,7 +43,7 @@ const MAGIC_NUMBER_OFFSET = Batched - 1;
43
44
// 1 unit of expiration time represents 10ms.
45
export function msToExpirationTime(ms: number): ExpirationTime {
46
- // Always subtract an offset so that we don't clash with the magic number for NoWork.
+ // Always subtract from the offset so that we don't clash with the magic number for NoWork.
47
return MAGIC_NUMBER_OFFSET - ((ms / UNIT_SIZE) | 0);
48
}
49
0 commit comments