Rohan DasL1 Seed
Promise.all vs Promise.allSettled: when should I use which?
I'm loading a dashboard from 4 APIs. If one fails the whole page breaks with Promise.all. Is allSettled the right fix?
I'm loading a dashboard from 4 APIs. If one fails the whole page breaks with Promise.all. Is allSettled the right fix?
My teacher said always use === but didn't explain why. Can someone explain with an example?
Our backend returns large JSON objects. Writing interfaces manually is slow and they get out of date. Is there a better way?