react-pdf icon indicating copy to clipboard operation
react-pdf copied to clipboard

hasOwnProperty undefined

Open joacub opened this issue 1 year ago • 3 comments

Error in the latest nextjs canary version:

var q = ba.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
q.hasOwnProperty("ReactCurrentDispatcher") ||
  (q.ReactCurrentDispatcher = {
    current: null,
  });

joacub avatar May 09 '24 19:05 joacub

React 19 can not be used with react pdf becouse of this

joacub avatar May 18 '24 16:05 joacub

Same issue here, @diegomura any plans to support React 19?

luskin avatar Jun 12 '24 00:06 luskin

I am facing the same issue. I cannot use this library in React 19 or Next 15. What I am also facing is the issue that I can use this library by starting the dev environment using yarn dev, but when I try to run it in a docker container, it keeps crashing with the same error above.

Any ideas?

RageCrezz avatar Jun 13 '24 14:06 RageCrezz

facing the same issue , here

geoffrey-oongo avatar Nov 03 '24 04:11 geoffrey-oongo