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 4f480d0 commit dc5ae7bCopy full SHA for dc5ae7b
packages/react-reconciler/src/ReactFiberExpirationTime.js
@@ -44,7 +44,7 @@ const MAGIC_NUMBER_OFFSET = Batched - 1;
44
45
// 1 unit of expiration time represents 10ms.
46
export function msToExpirationTime(ms: number): ExpirationTime {
47
- // Always add an offset so that we don't clash with the magic number for NoWork.
+ // Always subtract an offset so that we don't clash with the magic number for NoWork.
48
return MAGIC_NUMBER_OFFSET - ((ms / UNIT_SIZE) | 0);
49
}
50
0 commit comments