kqito / use-tus

React hooks for resumable file uploads using tus
https://kqito.github.io/use-tus/?path=/story/usetus--basic
MIT License
104 stars 8 forks source link

Add isUploading state #43

Closed kqito closed 1 year ago

kqito commented 1 year ago

Overview

Add isUploading state

Add Upload proptery args for useTus and useTusStore hooks.

We can now pass Upload property args. This is useful for using customized own Upload class with useTus.

const { upload } = useTus({ Upload: CustomUpload })

[BREAKING CHANGE] Rename some hooks types