Use fetch()
global function for http-requests over axios
-library
#3203
Labels
general
Issue or pull request that is not specific to any particular part of the course material
Given that
fetch
is available on all modern browsers and has been for quite many years, I wonder if there are any blockers in adapting the material to use that over theaxios
-library?Is there a pedagogical reasons for using
axios
over the standardfetch
, or is this just a remnant of the past whenfetch
wasn't widely available?I'd argue that
fetch
is currently the de facto method for making HTTP-requests on the browser (and node), and would be a more practical API to learn overaxios
.If this is something that is deemed a good idea, at some point in time I could contribute with PRs changing the Finnish and English materials and starter templates to use
fetch
. But anyone else is also free to contribute and pick this up.The text was updated successfully, but these errors were encountered: