sarink / react-file-drop

React component for Gmail or Facebook -like drag and drop file uploader

Home Page:https://www.sarink.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warning: Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code.

RichardLindhout opened this issue · comments

I have this error when using concurrent mode in React. It works fine btw! :)

Hey @RichardLindhout , we'll refactor this method out soon. In the meantime, you'll just have to live with the warning 😊

No problem, I like it and thanks for your hard work!

@sarink Hi! Was this method ever deleted? I ask because as of version 3.1.2 I am still seeing this warning...

Can you please reopen this issue? It hasn't been fixed and generates a warning, whenever the component is mounted.

This package also generates a peer dependency warning when installing along with React 17, even though it works perfectly fine with React 17. I can create a separate issue for this, if you wish.