@glocurrency/use-get
v0.0.4
Published
A React hook to interact with APIs
Downloads
4
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