Skip to content

jskit/kit-request

Repository files navigation

kit-request

封装数据请求,fetch 底层使用 isomorphic-fetch,xhr 底层使用 axios

用法

// use fetch(isomorphic-fetch)
import fetch from 'kit-request/fetch'

// use xhr(axios)
import xhr from 'kit-request/xhr'

// use request(Not completed)
import Request from 'kit-fetch'
const request = new Request({
  // config...
})

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published