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
The recommendations page recommends replacing functions like axios and node-fetch with a built-in fetch function. But I can't find documentation on how the fetch function works. (changing axios.get(url) to either fetch.get(url) or fetch(url) does not work). Where can I find the documentation?
In general, and I know this is a work in progress, it would be good to provide links to some documentation or instructions when substantive recommendations are made.
The text was updated successfully, but these errors were encountered:
The main advantage of the fetch API is that it works in the browser as well as in node without external packages. It is relatively new, but is now supported by all browsers and node.
In most cases it can replace the other variants (axios, request and node-fetch). I have already converted some modules accordingly. If you like, show me a module that you would like to convert and I'll take a look at it 🙂
The recommendations page recommends replacing functions like axios and node-fetch with a built-in fetch function. But I can't find documentation on how the fetch function works. (changing
axios.get(url)
to eitherfetch.get(url)
orfetch(url)
does not work). Where can I find the documentation?In general, and I know this is a work in progress, it would be good to provide links to some documentation or instructions when substantive recommendations are made.
The text was updated successfully, but these errors were encountered: