luma-web-examples
luma-web-examples copied to clipboard
React 19 RC
Hi,
I tried installing luma webGL viewer in React 19 RC.
I got error with npm package:
⨯ node_modules\react-reconciler\cjs\react-reconciler.development.js (498:1) @ $$$reconciler
⨯ TypeError: Cannot read properties of undefined (reading 'ReactCurrentOwner')
var StaticMask = LayoutStatic | PassiveStatic | RefStatic;
497 |
>498 | var ReactCurrentOwner = ReactSharedInternals.ReactCurrentOwner;
^
499 | function getNearestMountedFiber(fiber) { ...
What is the solution here? Seems like it's not fixable in this repo? What should I do to avoid this?