Fetching Data

XMLHttpRequest (XHR): original, built-in

Fetch API: modern, built-in

TODO: AbortController example

Axios: modern, popular library

About Axios

Axios provides a DX (developer experience) like the Fetch API, with backward compatability and some other features. In addition, it's isomorphic, meaning it works the same in both the browser and in server-side JS code (e.g., Node.js).

Error, progress, timeout, etc. buttons for Axios could go here.