react-compare-image icon indicating copy to clipboard operation
react-compare-image copied to clipboard

Issue after updating to React 18: `can't access property "recentlyCreatedOwnerStacks", I is undefined`

Open andreafalzetti opened this issue 8 months ago • 7 comments

I have been using this package successfullt with React 16 for a while, I had to upgrade to React 18, but now the component fails with:

Uncaught runtime errors:
ERROR
can't access property "recentlyCreatedOwnerStacks", I is undefined
./node_modules/react-compare-image/dist/ReactCompareImage.mjs/fe/W.jsx

I was using [email protected] and I've also tried upgrading to [email protected] but I get the same error.

andreafalzetti avatar Apr 22 '25 21:04 andreafalzetti

I'm having the same issue, might be the last update.
I think its due to using some React Internals that on react 19 no longer exists.

celescript avatar Apr 24 '25 18:04 celescript

I am having the same issue. Did someone find the fix ?

Image

vaibhavanchalspz avatar Apr 28 '25 09:04 vaibhavanchalspz

I've moved to https://www.npmjs.com/package/react-compare-slider

andreafalzetti avatar Apr 28 '25 09:04 andreafalzetti

+1

arno-fukuda avatar Apr 29 '25 01:04 arno-fukuda

+1

tomnaor avatar May 06 '25 15:05 tomnaor

+1

EmiyaGm avatar May 15 '25 01:05 EmiyaGm

+1

KonstantinKliukhin avatar Jun 04 '25 08:06 KonstantinKliukhin