baseweb icon indicating copy to clipboard operation
baseweb copied to clipboard

Update react-dropzone dependency to ~v12

Open bsplosion opened this issue 3 years ago • 3 comments

Feature description

The [email protected] dependency came out way back in February 2019. That version of the dependency in turn uses [email protected], which is stuck on [email protected]. Base Web should update to react-dropzone~12 or deprecate the dependency to address core-js incompatibilities and pull a bunch of bugfixes that have been applied to react-dropzone in the last 3 years.

bsplosion avatar Apr 06 '22 00:04 bsplosion

I'm having problems with FileUploader Component, I think could be related to this.

I have migrated my app from CRA to VITE but now my FileUploader is not working and throws me this error after build:

index.js:10 Uncaught (in promise) TypeError: wl is not a function (Comming from: /node_modules/react-dropzone/dist/es/utils/index.js)

TomasMoratoPerezPorro avatar Apr 06 '22 07:04 TomasMoratoPerezPorro

Hi, I'm having the same problem @TomasMoratoPerezPorro , have you found a workaround?

Thanks!

sortegamartin avatar May 30 '22 08:05 sortegamartin

Hi, I'm having the same problem @TomasMoratoPerezPorro , have you found a workaround?

Thanks!

No... ! Back to CRA and works fine

TomasMoratoPerezPorro avatar May 31 '22 16:05 TomasMoratoPerezPorro

I'm also having this problem, I would really hate to go back to cra.

im28 avatar Oct 09 '22 09:10 im28