diff --git a/packages/react-reconciler/src/ReactFiberCompleteWork.js b/packages/react-reconciler/src/ReactFiberCompleteWork.js index 40bb9ea4f46c21..123dee84ea2500 100644 --- a/packages/react-reconciler/src/ReactFiberCompleteWork.js +++ b/packages/react-reconciler/src/ReactFiberCompleteWork.js @@ -195,6 +195,7 @@ export default function( oldProps: P, newProps: P, rootContainerInstance: C, + currentHostContext: CX, ) { // TODO: Type this specific to this type of component. workInProgress.updateQueue = (updatePayload: any); @@ -288,6 +289,7 @@ export default function( oldProps: P, newProps: P, rootContainerInstance: C, + currentHostContext: CX, ) { // If there are no effects associated with this node, then none of our children had any updates. // This guarantees that we can reuse all of them. @@ -315,6 +317,7 @@ export default function( type, newProps, rootContainerInstance, + currentHostContext, ) ) { markUpdate(workInProgress); @@ -369,6 +372,7 @@ export default function( oldProps: P, newProps: P, rootContainerInstance: C, + currentHostContext: CX, ) { // Noop }; @@ -450,6 +454,7 @@ export default function( oldProps, newProps, rootContainerInstance, + currentHostContext, ); if (current.ref !== workInProgress.ref) { @@ -506,6 +511,7 @@ export default function( type, newProps, rootContainerInstance, + currentHostContext, ) ) { markUpdate(workInProgress); diff --git a/packages/react-reconciler/src/ReactFiberReconciler.js b/packages/react-reconciler/src/ReactFiberReconciler.js index ef1eb8cf008b30..fad7f53d7702c5 100644 --- a/packages/react-reconciler/src/ReactFiberReconciler.js +++ b/packages/react-reconciler/src/ReactFiberReconciler.js @@ -65,6 +65,7 @@ export type HostConfig = { type: T, props: P, rootContainerInstance: C, + hostContext: CX, ): boolean, prepareUpdate(