KarimMokhtar / react-drag-drop-files

Light and simple Reactjs drag and drop files library to use with very flexible options to change, so you put whatever the design you want for your drop-area. Users can drag and drop or even select the file anywhere in the window.
MIT License
245 stars 86 forks source link

React Version Conflict #21

Open nusrat45 opened 2 years ago

nusrat45 commented 2 years ago

Your component is the perfect match with what I needed. But it doesn't support react version less than 17. I'm working on a project of react 16.3.1 version. Can you please tell me a way to make it work on this version?

Robfz commented 2 years ago

You may have some luck updating your project to React 16.14.0 (if that's a possibility). The thing that is most likely causing issues is the new react-jsx JSX transform, and it was back-ported to React 16.14.

Brandontam29 commented 2 years ago

Is there something I can do to make it backwards compatible?