felixrieseberg / React-Dropzone-Component

:camera: ReactJS Dropzone for File Uploads (using Dropzone.js)
MIT License
1k stars 153 forks source link

React 16 migration (lifecycle methods) #205

Closed DanielRuf closed 4 years ago

DanielRuf commented 5 years ago

In React 16 a few lifecycle methods are deprecated and marked as unsafe. We should test on multiple react and react-dom versions and try to support the latest React release.

rgdevment commented 4 years ago

https://github.com/felixrieseberg/React-Dropzone-Component/pull/212

When you can, please check this

BastianMa commented 4 years ago

React 17 is coming. This component will not work anymore if this issue will not be fixed

DanielRuf commented 4 years ago

React 17 is coming. This component will not work anymore if this issue will not be fixed

Afaik you can use older React versions in newer React versions (starting with React 17 with the gradual updates feature). https://reactjs.org/blog/2020/08/10/react-v17-rc.html

So you can still get it working.