loading...

re: Request for Node.js has been deprecated VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I prefer a node fetch implementation in case I had a view for isomorphism, there is one less thing to change.
 

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).

 

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

Code of Conduct Report abuse