npm.io
0.0.7 • Published 7 years ago

watch-fetch

Licence
MIT
Version
0.0.7
Deps
1
Size
12 kB
Vulns
0
Weekly
0
Stars
1

react-string-template

react-string-template is simple string template with react

install

npm i --save watch-fech


  watchedFetchAPI = watchFetch(
    new FetchAPI({
      middlewares: [],
    }),
    {
      parser: (performance, config) => {
        const { startTime, endTime, request, response } = performance;
        const { a, b } = config;
        console.log(performance);
      },
      config: {
        a: 1,
        b: 2,
      },
    }
  )