@glocurrency/use-get
v0.0.5
Published
A React hook to interact with APIs
Downloads
31
Readme
@glocurrency/use-get
A React hook to interact with APIs
Install
$ pnpm add @glocurrency/use-get
Usage
import { useGet } from '@glocurrency/use-get'
export function useGetOrders() {
return useGet<OrderData[]>('/orders')
}
Authors
- Ivan Stasiuk | Twitter | LinkedIn | stasi.uk