@samitouri / QOS-React / commits / 5afa1c4eda

Tag MemoComponent with PerformedWork effectTag for DevTools Profiler (#14141)

Brian Vaughn committed Nov 7, 2018 at 13:56 UTC 5afa1c4eda2e5eaa58d72d7937b640b79984a038
1 file changed +2
packages/react-reconciler/src/ReactFiberBeginWork.js
+2
@@ -283,6 +283,8 @@ function updateMemoComponent(
283 );
284 }
285 }
286 + // React DevTools reads this flag.
287 + workInProgress.effectTag |= PerformedWork;
288 let newChild = createWorkInProgress(
289 currentChild,
290 nextProps,