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

joaofaustino pfp
joaofaustino
@joaofaustino
1. I love optional chaining - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining đŸ«¶ 2. Currently building a renting platform for otherside assets at Zharta - https://www.zharta.io/otherside-renting 🚀 3. Excited to dive into Three.js, wrapping up Bruno Simon’s course🔼
1 reply
0 recast
3 reactions

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
The `?.` operator is awesome! Makes dealing with `null` and `undefined` incredibly easy. Pairs well with `| undefined` in TypeScript too! https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining
2 replies
0 recast
1 reaction

taranis pfp
taranis
@taranis.eth
Quickly overused though imo
2 replies
0 recast
1 reaction

Darryl Yeo đŸ› ïž pfp
Darryl Yeo đŸ› ïž
@darrylyeo
Maybe, though in my experience allowing something to be undefined then using `?.` / `??` is the quickest way to write branching/fallback logic. Better than what we had before which was to write the property access expression twice with an `||`.
1 reply
0 recast
2 reactions

joaofaustino pfp
joaofaustino
@joaofaustino
Couldn’t agree more
0 reply
0 recast
1 reaction