SPFx – Uploading files using react-dropzone

The main focus of this post is to explain how we can leverage on the react-dropzone module, pnp/sp to upload the files asynchronously without making the users to wait until the files are uploaded and also we can also stop the upload and show error message, if there is any network failure in the middle of upload.