Skip to content

Commit

Permalink
Remove shouldYield commit option (#6876)
Browse files Browse the repository at this point in the history
This PR removes `shouldYield` commit option that was used in
`ShadowTree::commit` in `ReanimatedModuleProxy::performOperations`.

The reason for the change is that `shouldYield` commit option has been
removed in RN 0.77 in
facebook/react-native#47191.
  • Loading branch information
tomekzaw committed Jan 9, 2025
1 parent 8027606 commit 0832b11
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -770,10 +770,7 @@ void NativeReanimatedModule::performOperations() {
},
{/* .enableStateReconciliation = */
false,
/* .mountSynchronously = */ true,
/* .shouldYield = */ [this]() {
return propsRegistry_->shouldReanimatedSkipCommit();
}});
/* .mountSynchronously = */ true});
});
}

Expand Down

0 comments on commit 0832b11

Please sign in to comment.