Skip to content

Commit

Permalink
Remove shouldYield commit option (#6876)
Browse files Browse the repository at this point in the history
## Summary

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.

## Test plan
  • Loading branch information
tomekzaw authored and tjzel committed Feb 17, 2025
1 parent 5678db7 commit 6b13637
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -748,10 +748,7 @@ void ReanimatedModuleProxy::performOperations() {
},
{/* .enableStateReconciliation = */
false,
/* .mountSynchronously = */ true,
/* .shouldYield = */ [this]() {
return propsRegistry_->shouldReanimatedSkipCommit();
}});
/* .mountSynchronously = */ true});
});
}
}
Expand Down

0 comments on commit 6b13637

Please sign in to comment.