3 ms·
why axios? JS has native fetch everywhere for ages. let’s remove the moving pieces.
by sabbaticaldev 2y ago
why axios? JS has native fetch everywhere for ages. let’s remove the moving pieces.
- hu3 2y agoAgreed. I'm starting to replace axios with a simple fetch block that emits start/stop/error events. Other libs listen to these events to, for example, show loading spinner on request.