use-query-rd

v2.0.3
A drop in replacement for apollo client's `useQuery` hook with a return type that mimics Elm's RemoteData ADT
apollo elm useQuery

build

tsc -p tsconfig.build.json

lint:src

eslint 'src/**/*.ts' --fix

lint:spec

eslint '__specs__/**/*.ts' --fix

lint:markdown

markdownlint --fix '**/*.md'

lint

run-s lint:*

prerelease

yarn run build

release

release-it

test

jest
npm i use-query-rd

Metadata

  • MIT
  • >=14
  • Andrew Moss
  • released 3/12/2023

Downloads

Maintainers