Skip to content

Commit 74b32b9

Browse files
authored
Merge pull request #7 from chentsulin/patch-1
Removes the useSyncScheduling option
2 parents 70d623a + cb05325 commit 74b32b9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

part-one.md

-5
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ const WordRenderer = Reconciler({
8585

8686
now: () => performance.now(),
8787

88-
useSyncScheduling: true,
89-
9088
mutation: {
9189
appendChild(parentInstance, child) {
9290
if (parentInstance.appendChild) {
@@ -214,9 +212,6 @@ is required to make correct calls for example to create an element in html or in
214212

215213
This is an identity relation which means that it always returns the same value that was used as its argument. It was added for the TestRenderers.
216214

217-
**`useSyncScheduling`**
218-
This property is used to down prioritize the children by checking whether the children are offscreen or not. In other words, if this property is true then the work in progress fiber has no expiration time
219-
220215
**`resetTextContent`**
221216
Reset the text content of the parent before doing any insertions (inserting host nodes into the parent). This is similar to double buffering technique in OpenGl where the buffer is cleared before writing new pixels to it and perform rasterization.
222217

0 commit comments

Comments
 (0)