monika icon indicating copy to clipboard operation
monika copied to clipboard

Spike using fetch

Open sapiderman opened this issue 1 year ago • 2 comments

Spike using fetch vs Axios

  1. Fetch has native support
  2. Already stable in Node v21

Target

  1. Is it possible to use native Fetch and replace Axios
  2. How much work would it be
  3. 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

  1. https://blog.logrocket.com/fetch-api-node-js/
  2. 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

sapiderman avatar Jan 05 '24 05:01 sapiderman