Skip to content

Instantly share code, notes, and snippets.

View JesperHalvorsen's full-sized avatar

Jesper Halvorsen JesperHalvorsen

View GitHub Profile
const {loop, Cmd} = require('redux-loop')
const axios = require('axios')
async function fetchEmployee(id) {
const res = await axios.get(`http://dummy.restapiexample.com/api/v1/employees`)
// throw 'nej!'
return res.data[0]
}

Keybase proof

I hereby claim:

  • I am jesperhalvorsen on github.
  • I am jesperhalvorsen (https://keybase.io/jesperhalvorsen) on keybase.
  • I have a public key ASBuLIQnk6dTCb_faWd8JGSGzaH2pg7Z1GWPCEnPrvSpSAo

To claim this, I am signing this object: