Skip to content

Commit 4432269

Browse files
committed
fix: support for react 19 and next15
1 parent a5ba27c commit 4432269

File tree

2 files changed

+23
-81
lines changed

2 files changed

+23
-81
lines changed

package-lock.json

Lines changed: 19 additions & 79 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/react-native-web/src/exports/unmountComponentAtNode/index.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,7 @@
77
* @noflow
88
*/
99

10-
import { unmountComponentAtNode } from 'react-dom';
11-
export default unmountComponentAtNode;
10+
export default function unmountComponentAtNode(rootTag) {
11+
rootTag.unmount();
12+
return true;
13+
}

0 commit comments

Comments
 (0)