At some point we will need to deprecate $http and $resource as part of the React migration. Initially I thought we will use axios, but stumbled at ky yesterday, which looks as a viable option too:

  • Based on fetch (vs. XMLHttpRequest)
  • Support for timeouts, retries and cancelling requests.

It seems less popular than axios, but more maintained.

There is also the question of what should we replace $resource with? Should we just skip this pattern, implement our own using axios or find some non-Angular alternative?