useFlow
is a library of react hooks enabling developers to build DApps on Flow quickly and efficiently.
The libary provides hook abstractions for all FCL functionality, like wallet connection, executing scripts and transactions and signing messages, all while featuring built in caching, request deduplication and loading states powered by react-query.
WORK IN PROGRESS!
This library is not yet published to npm and the following commands will fail.
Please check back later :^)
# yarn
$ yarn add @maggo/use-flow @onflow/fcl
# pnpm
$ pnpm i @maggo/use-flow @onflow/fcl
# npm
$ npm i @maggo/use-flow @onflow/fcl
WIP: See examples/react