monika
monika copied to clipboard
Spike using fetch
Spike using fetch vs Axios
- Fetch has native support
- Already stable in Node v21
Target
- Is it possible to use native Fetch and replace Axios
- How much work would it be
- Will node v21 breaking?
TODO
- [x] Upgrade Node.js to LTS v20.x #1235
- [x] #1237
- [x] #1241
- [x] #1246
- [x] #1247
- [x] #1268
- [ ] #1248
- [ ] #1249
References
- https://blog.logrocket.com/fetch-api-node-js/
- https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Basic_concepts
Edit :
- 2024 Feb 16 : Added TODO
- 2024 Feb 23 : Added TODO item #1247
- 2024 Feb 23 : Added TODO item "Remove experimental toggle"
- 2024 Feb 28 : Added TODO Handle error
- 2024 Mar 08 : Added TODO Remove Axios
- 2024 Apr 04 : Added TODO Handle HTTP 3xx