I see. I think the author (and I agree) is on the line of "90% of people don't need adapters, don't need base paths or have them covered elsewhere". I think that for 9 out of 10 developers, axios is 57kb of "nothing I need".
I imagine that the adapters are probably very handy, but are also probably very specific and catered for the minority, not the majority.
So yes, I think you are doing the right thing considering fetch() as the primary tool here. If you need interception of request or response, that's something that can be easily done in far less than 57kb.
Cheers!
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The top things I can think of:
json()(in comparison to fetch) to get the dataWith the release of
fetchthis list got much shorter...I think I'm slowly coming around to using fetch on the browser as well
I see. I think the author (and I agree) is on the line of "90% of people don't need adapters, don't need base paths or have them covered elsewhere". I think that for 9 out of 10 developers,
axiosis 57kb of "nothing I need".I imagine that the adapters are probably very handy, but are also probably very specific and catered for the minority, not the majority.
So yes, I think you are doing the right thing considering
fetch()as the primary tool here. If you need interception of request or response, that's something that can be easily done in far less than 57kb.Cheers!