Reset didReceiveUpdate in beginWork (#16359)

This is a bad bug. It means that we sometimes inherit
didReceiveUpdate from a previous component's begin.

Effectively this only means that we're overrendering in some cases.

We should refactor to get rid of this as a global flag.
This commit is contained in:
Sebastian Markbåge
2019-08-12 14:16:25 -07:00
committed by Andrew Clark
parent 9449f8bf39
commit 2716d91ec4
+2
View File
@@ -2846,6 +2846,8 @@ function beginWork(
workInProgress,
renderExpirationTime,
);
} else {
didReceiveUpdate = false;
}
} else {
didReceiveUpdate = false;