DEV Community

Discussion on: Request for Node.js has been deprecated

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

I prefer a node fetch implementation in case I had a view for isomorphism, there is one less thing to change.

Collapse
 
tracker1 profile image
Michael J. Ryan

For pretty much everything I'm working on now, I cut off with fetch and async function support (around April 2017 and newer browsers). In node, I use node-fetch or setup a global if I'm sharing code libraries.

While fetch isn't perfect, usually create an api wrapper around it. It's standard, cleaner than alternatives and built into the browsers (smaller bundles).

Collapse
 
frenchcooc profile image
Corentin

That's exactly why @mikeal the creator of request deprecated the project

Collapse
 
frenchcooc profile image
Corentin

Yeah! fetch is easy to use and pretty well supported now.