A collection of useful React hooks for async programming and web3.
- use-progress - tracking the progress of a sequence of tasks.
- use-async-task - performing async tasks with progress tracking.
- use-async-value - for storing values which result from async calls.
- use-contract-function - for calling Ethereum contract functions with precise error handling and progress tracking.
Note: This is a PNPM monorepo. All code is in Typescript.
Run this after cloning the repo, to bootstrap the packages:
$ pnpm iTo build an individual package, e.g. use-progress:
$ cd packages/progress
$ pnpm build
You can also watch for changes and rebuild:
$ pnpm watch
To do a new release:
$ pnpm pre-release
$ pnpm release