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 8e70469 commit 27828bcCopy full SHA for 27828bc
packages/react-ape/renderer/reactApeFrameScheduling.js
@@ -16,11 +16,10 @@ let scheduledCallback: (() => mixed) | null = null;
16
let frameDeadline: number = 0;
17
18
function setTimeoutCallback() {
19
- // TODO (bvaughn) Hard-coded 5ms unblocks initial async testing.
20
// React API probably changing to boolean rather than time remaining.
21
// Longer-term plan is to rewrite this using shared memory,
22
// And just return the value of the bit as the boolean.
23
- frameDeadline = now() + 5;
+ frameDeadline = now();
24
25
const callback = scheduledCallback;
26
scheduledCallback = null;
0 commit comments