3 ms·
The irony about fetch() finally being a thing and this guide describing it as the modern thing we all have access to now is that going to /r/reactjs and saying
by technion 4y ago
The irony about fetch() finally being a thing and this guide describing it as the modern thing we all have access to now is that going to /r/reactjs and saying "I wrote some code with fetch()" is a bit like coming to HN and saying "I wrote my own crypto and put it in production". You'll be told you need to use a library and regress back to one of the earlier steps in this history.
- daveidol 4y agoI think that’s a bit of an overstatement. fetch() is pretty easy to use as-is and commonplace in React code. Sure, some prefer isomorphic libraries like axios, but it’s far from a requirement these days.