You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 the axios-library?
Is there a pedagogical reasons for using axios over the standard fetch, or is this just a remnant of the past when fetch 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 over axios.
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:
kahlstrm
changed the title
Use fetch() for http-requests over axios
Use fetch() global function for http-requests over axiosOct 21, 2023
kahlstrm
changed the title
Use fetch() global function for http-requests over axios
Use fetch() global function for http-requests over axios-library
Oct 21, 2023
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: