guides icon indicating copy to clipboard operation
guides copied to clipboard

Using Fetch API

Open mabelleeyanhwa opened this issue 5 years ago • 0 comments
trafficstars

Compare to using axios

  • why fetch() data?
  • Making GET requests in a browser
  • how to use fetch()
  • what are promises (an object representing the eventual completion of an asynchronous function)
  • how to 'unbox' the promise? (async await)
  • What is Same Origin Policy? What is Cross Origin Resource Sharing?
  • code-along: fetch data from https://data.gov.sg/dataset/carpark-availability and present in React app
  • lab: fetch data from: https://node-hnapi.herokuapp.com/news

mabelleeyanhwa avatar Dec 02 '19 03:12 mabelleeyanhwa