From 434770c3b4b94315c789234c27ed9dc2ec8a78ad Mon Sep 17 00:00:00 2001 From: Dominic Gannaway Date: Mon, 3 Feb 2020 11:31:51 +0000 Subject: [PATCH] Add beforeRemoveInstance method to ReactNoop (#17959) --- packages/react-noop-renderer/src/createReactNoop.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/react-noop-renderer/src/createReactNoop.js b/packages/react-noop-renderer/src/createReactNoop.js index 58cc128685d5e..5c11164ae66c4 100644 --- a/packages/react-noop-renderer/src/createReactNoop.js +++ b/packages/react-noop-renderer/src/createReactNoop.js @@ -437,6 +437,10 @@ function createReactNoop(reconciler: Function, useMutation: boolean) { getInstanceFromNode() { throw new Error('Not yet implemented.'); }, + + beforeRemoveInstance(instance: any): void { + // NO-OP + }, }; const hostConfig = useMutation