luma-web-examples icon indicating copy to clipboard operation
luma-web-examples copied to clipboard

React 19 RC

Open ogi-joo opened this issue 1 year ago • 0 comments

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?

ogi-joo avatar Jun 30 '24 05:06 ogi-joo