Skip to content

Commit 434770c

Browse files
authored
Add beforeRemoveInstance method to ReactNoop (#17959)
1 parent 08c1f79 commit 434770c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

packages/react-noop-renderer/src/createReactNoop.js

+4
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,10 @@ function createReactNoop(reconciler: Function, useMutation: boolean) {
437437
getInstanceFromNode() {
438438
throw new Error('Not yet implemented.');
439439
},
440+
441+
beforeRemoveInstance(instance: any): void {
442+
// NO-OP
443+
},
440444
};
441445

442446
const hostConfig = useMutation

0 commit comments

Comments
 (0)