Discussion about this post

User's avatar
Rowland's avatar

It's a joy to read great articles like this that clearly explains JS concepts amidst the unrelated AI slops polluting the internet.

Thank you for sharing.

Fayaz Bin Salam's avatar

The Promise.all-vs-allSettled distinction is the one I'd tattoo on new hires — one bad request shouldn't take the other nine down with it, and yet the default reads like it should.

The adjacent pitfall I keep hitting is at the boundary rather than in the code: firing a dozen parallel fetches at raw GitHub URLs, which aren't served with sane caching and will happily rate-limit you mid-burst. I wrote a tiny thing that rewrites a GitHub blob URL into a proper CDN URL so those requests behave like static assets instead of API calls: https://github.com/p32929/ghcdn

2 more comments...

No posts

Ready for more?