v0.7.0
Update
Add support for react version to v18
Changed peerDependencies for use-tus to >=16.8. This will fix issues like #35.
Also, there is no interface changes.
Bug fixs
Change isAbort will be false after remove function is called.
Change the behavior when the remove function of useTus hooks is called.
Until now, calling the remove function initialized the state and then set isAbort to true.
Therefore, the state after calling the remove function was different from the initial value.
So, we will change it so that isAbort remains false after calling the remove function.
Change setUpload function will reset state.
Changed so that isAborted, isSuccess, etc. are initialized when the setUpload function of the useTus hooks is called.
Misc
- Use
FCtype instead ofVFCto stories components - Remove
@testing-library/react-hooksfrom dependencies