Issue after updating to React 18: `can't access property "recentlyCreatedOwnerStacks", I is undefined`
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.
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.
I am having the same issue. Did someone find the fix ?
I've moved to https://www.npmjs.com/package/react-compare-slider
+1
+1
+1
+1