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 161be62 commit d1e7f28Copy full SHA for d1e7f28
packages/react-reconciler/src/ReactFiberCommitWork.new.js
@@ -2208,6 +2208,7 @@ function commitMutationEffects_begin(root: FiberRoot) {
2208
function commitMutationEffects_complete(root: FiberRoot) {
2209
while (nextEffect !== null) {
2210
const fiber = nextEffect;
2211
+ if (fiber.flags !== NoFlags) {
2212
if (__DEV__) {
2213
setCurrentDebugFiberInDEV(fiber);
2214
invokeGuardedCallback(
@@ -2229,6 +2230,7 @@ function commitMutationEffects_complete(root: FiberRoot) {
2229
2230
captureCommitPhaseError(fiber, fiber.return, error);
2231
}
2232
2233
+ }
2234
2235
const sibling = fiber.sibling;
2236
if (sibling !== null) {
0 commit comments