/fuel-hooks

Prototype of Fuel Hooks library using React Query and GraphQL Codegen

Primary LanguageTypeScript

Fuel React Hooks for queries and mutations

Example implementation for React Hooks abstracting away the need to know graphql

Usage

import {
  useTransactionsByOwnerQuery
} from './generated'

const {
  data, error, loading
} = useTransactionsByOwnerQuery({
  variables: {
     owner: 'some-address'
  }
})