fetchall js is decent for batching, but tbh, Promise.all is more reliable if you need fine-grained control.
I’ve used fetchall js in a side project, and it’s great for simple stuff, but error handling is kinda meh—if one fails, the whole batch can get messy.
For prod, I’d recommend axios + Promise.allSettled. Lets you handle failures without crashing everything.
Also, check out p-limit for throttling requests. Super handy when you’re dealing with rate limits.
I’ve used fetchall js in a side project, and it’s great for simple stuff, but error handling is kinda meh—if one fails, the whole batch can get messy.
For prod, I’d recommend axios + Promise.allSettled. Lets you handle failures without crashing everything.
Also, check out p-limit for throttling requests. Super handy when you’re dealing with rate limits.
