It's just so clean and simple for 99% of use cases but has the power there for more advanced stuff.
We actually use Nest for all of our new microservices and it has its own HTTP library. It is a wrapper around Axios that turns the response into an observable.
Personally I love observables and would prefer working with them most of the time, but it's conceptually MUCH harder for your average dev to understand compared to async/await.
While on the Nest HTTP page there was a header that said, "you can also use any http library like got or undici." Tried out got and loved it!
14
u/leeharris100 Feb 01 '22
I've been using
gotfor so long that this doesn't really affect us at allThat being said, always nice to have a better standard library