pmndrs / its-fine

🐶🔥 A collection of escape hatches for React.
https://npmjs.com/its-fine
MIT License
1.05k stars 10 forks source link

Not working on React 19.0.0 #38

Closed veksa closed 2 months ago

veksa commented 2 months ago

There is a crash on the 19.0.0 version of react (checked on 19.0.0-rc-3edc000d-20240926)

TypeError: Cannot destructure property 'ReactCurrentOwner' of 'react__WEBPACK_IMPORTED_MODULE_0__.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED' as it is undefined.

CodyJasonBennett commented 2 months ago

Your version of its-fine is very outdated. Are you using react-three-fiber? We have an alpha release under v9 which targets React 19.

veksa commented 2 months ago

i'm using react-konva, found related PR here: https://github.com/konvajs/react-konva/pull/802

thanks :)