-
-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
Hi,
Can you please update to React 19?
Error:
chunk-KNK3UTB7.js?v=ae6950dd:5305 Uncaught TypeError: import_react_dom6.default.render is not a function
at render (ecctrl.js?v=ae6950dd:5923:29)
at ecctrl.js?v=ae6950dd:11460:11
at react-stack-bottom-frame (chunk-HQOX6EPQ.js?v=ae6950dd:10257:20)
at runWithFiberInDEV (chunk-HQOX6EPQ.js?v=ae6950dd:638:18)
at commitHookEffectListMount (chunk-HQOX6EPQ.js?v=ae6950dd:6678:123)
at commitHookPassiveMountEffects (chunk-HQOX6EPQ.js?v=ae6950dd:6736:60)
at reconnectPassiveEffects (chunk-HQOX6EPQ.js?v=ae6950dd:8137:13)
at recursivelyTraverseReconnectPassiveEffects (chunk-HQOX6EPQ.js?v=ae6950dd:8116:11)
at reconnectPassiveEffects (chunk-HQOX6EPQ.js?v=ae6950dd:8175:13)
at recursivelyTraverseReconnectPassiveEffects (chunk-HQOX6EPQ.js?v=ae6950dd:8116:11)
The error message import_react_dom6.default.render is not a function indicates that the ecctrl library is trying to use the legacy ReactDOM.render() method, which has been removed in React 18 and above. In React 18+, the recommended way to render is using createRoot.
The R3F already is using version 19:
https://github.com/pmndrs/react-three-fiber/blob/master/package.json
Thanks.
ahumellihuk, Envoy-VC and diegosystem32diegosystem32
Metadata
Metadata
Assignees
Labels
No labels