Skip to content

Commit ad0ba75

Browse files
committed
fix: reactRender is not a function in React 19
1 parent ea33203 commit ad0ba75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/React/render.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ function modernRender(node: React.ReactElement, container: ContainerType) {
5656
}
5757

5858
function legacyRender(node: React.ReactElement, container: ContainerType) {
59-
reactRender(node, container);
59+
reactRender?.(node, container);
6060
}
6161

6262
/** @private Test usage. Not work in prod */

0 commit comments

Comments
 (0)