diff --git a/src/React/render.ts b/src/React/render.ts index ae6817eb..d7a3250f 100644 --- a/src/React/render.ts +++ b/src/React/render.ts @@ -56,7 +56,7 @@ function modernRender(node: React.ReactElement, container: ContainerType) { } function legacyRender(node: React.ReactElement, container: ContainerType) { - reactRender(node, container); + reactRender?.(node, container); } /** @private Test usage. Not work in prod */