useNhostFunction
usage (works like apollo hooks, without fancy caching):
const { data, error, loading, refetch } = useNhostFunction<GenericReturnType>('path/to/func', { some: 'payload' })
useNhostFunction
usage (works like apollo hooks, without fancy caching):
const { data, error, loading, refetch } = useNhostFunction<GenericReturnType>('path/to/func', { some: 'payload' })
npm i @8thday/nhost-js-utils
1
0.0.2
none
9.92 kB
8