0.0.50 • Published 3 years ago
create-api-hooks v0.0.50
create-api-hooks
Install
npm install --save create-api-hooksor
yarn add create-api-hooksUsage
import React form 'react'
import createApiHooks from 'create-api-hooks'
const useApi = () => createApiHooks(axios.get('/data'))
const App = () => {
const {data} = useApi()
console.log(data)
}License
MIT © mushan0x0
0.0.50
3 years ago
0.0.48
4 years ago
0.0.49
4 years ago
0.0.45
4 years ago
0.0.46
4 years ago
0.0.47
4 years ago
0.0.41
4 years ago
0.0.42
4 years ago
0.0.43
4 years ago
0.0.44
4 years ago
0.0.40
4 years ago
0.0.39
4 years ago
0.0.37
4 years ago
0.0.38
4 years ago
0.0.34
4 years ago
0.0.35
4 years ago
0.0.36
4 years ago
0.0.32
4 years ago
0.0.33
4 years ago
0.0.31
4 years ago
0.0.30
5 years ago
0.0.29
5 years ago
0.0.28
5 years ago
0.0.27
5 years ago
0.0.26
6 years ago
0.0.25
6 years ago
0.0.24
6 years ago
0.0.23
6 years ago
0.0.22
6 years ago
0.0.21
6 years ago
0.0.20
6 years ago
0.0.18
6 years ago
0.0.19
6 years ago
0.0.17
6 years ago
0.0.16
6 years ago
0.0.15
6 years ago
0.0.14
6 years ago
0.0.13
6 years ago
0.0.12
6 years ago
0.0.11
6 years ago
0.0.10
6 years ago
0.0.9
6 years ago
0.0.8
6 years ago
0.0.7
6 years ago
0.0.6
6 years ago
0.0.5
6 years ago
0.0.4
6 years ago
0.0.3
6 years ago
0.0.2
6 years ago
0.0.1
6 years ago