Content pfp
Content
@
0 reply
0 recast
0 reaction

Darryl Yeo 🛠️ pfp
Darryl Yeo 🛠️
@darrylyeo
Let's do some introductions: 1. What's your favorite HTML/CSS/JavaScript feature? 2. What are you currently using /frontend technology to build? 3. What framework, library or stack are you hoping to learn, or think more people should know about? Extra bonus if you include links to developer.mozilla.org and GitHub!
0 reply
20 recasts
133 reactions

matt 🏗️🏰  pfp
matt 🏗️🏰
@matthu.eth
1. `Promise.all()` https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all 2. Portfolio page for web3 devs that fetches ENS records and NFTs / POAPs for display https://github.com/MattPereira/Buildfolio 3. Scaffold ETH 2 https://github.com/scaffold-eth/scaffold-eth-2
1 reply
0 recast
3 reactions

Darryl Yeo 🛠️ pfp
Darryl Yeo 🛠️
@darrylyeo
Love a good Scaffold-ETH build 🏗️ Also excited about `Array.fromAsync()` which will be the sequential counterpart to `Promise.all()`! https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/fromAsync#comparison_with_promise.all
1 reply
0 recast
2 reactions

Marc BHE Season 🍖☣️ pfp
Marc BHE Season 🍖☣️
@bighamenergy.eth
Be careful with promise all. Breaks if just one promise fails. Promise.resolveAll will solve the promises (failures included) and its a better fit for error handling
1 reply
0 recast
1 reaction

Darryl Yeo 🛠️ pfp
Darryl Yeo 🛠️
@darrylyeo
Good reminder. I think you're thinking of `Promise.allSettled()`? It's more verbose, but it's good to handle errors granularly whenever possible! https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/allSettled
1 reply
0 recast
1 reaction

Marc BHE Season 🍖☣️ pfp
Marc BHE Season 🍖☣️
@bighamenergy.eth
Yes. I meant this one. Was on the phone and reacalled it incorrectly. Nice correction 🫶
0 reply
0 recast
0 reaction