Skip to content

Commit

Permalink
Add beforeRemoveInstance method to ReactNoop (#17959)
Browse files Browse the repository at this point in the history
  • Loading branch information
trueadm committed Feb 3, 2020
1 parent 08c1f79 commit 434770c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/react-noop-renderer/src/createReactNoop.js
Expand Up @@ -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
Expand Down

0 comments on commit 434770c

Please sign in to comment.