sorted-hooks
v0.1.15
Published
A collection of useful hooks for react
Downloads
125
Readme
sorted-hooks 🚧 WIP 🚧
A collection of useful hooks for react
Usage
npm install sorted-hooks
# or
yarn add sorted-hooks
Documentation
useCompress
import { useCompress } from 'sorted-hooks';
function App() {
const compress = useCompress();
const handleUpload = async (file) => {
const compressedFile = await compress(file);
}
return ...
}