Skip to content

Commit ac7096e

Browse files
authored
Sync scheduling by default, with an async opt-in (#11771)
Removes the `useSyncScheduling` option from the HostConfig, since it's no longer needed. Instead of globally flipping between sync and async, our strategy will be to opt-in specific trees and subtrees.
1 parent c8ee18f commit ac7096e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/ReactTestRenderer.js

-2
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,6 @@ const TestRenderer = ReactFiberReconciler({
203203
clearTimeout(timeoutID);
204204
},
205205

206-
useSyncScheduling: true,
207-
208206
getPublicInstance,
209207

210208
now(): number {

0 commit comments

Comments
 (0)