Skip to content
← All Posts

Promises could make your code slower

if a task doesn't take that much time but you still use a promise, when that promise is resolved. it still goes to the back of the queue and waits for other functions to execute. GraphQL uses a lot of promises.

Source: The Hidden Cost Of GraphQL And NodeJS - YouTube


← All Posts