We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54e0d54 commit 57aa9d7Copy full SHA for 57aa9d7
src/js/packages/@reactpy/client/src/bind.tsx
@@ -8,9 +8,8 @@ export async function infer_bind_from_environment() {
8
const ReactDOM = await import("react-dom/client");
9
return (node: HTMLElement) => reactjs_bind(node, React, ReactDOM);
10
} catch {
11
- console.error(
12
- "Unknown error occurred: 'react' is missing within this ReactPy environment! \
13
- Your JavaScript components may not work as expected!",
+ console.debug(
+ "ReactPy will render JavaScript components using internal bindings for 'react'.",
14
);
15
return (node: HTMLElement) => local_preact_bind(node);
16
}
0 commit comments