Content
@
0 reply
0 recast
0 reaction
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!
47 replies
18 recasts
189 reactions
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 🛠️
@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
Marc
@marcgarcia.eth
I remember my rails arc when some methods were called with ! for side effects and ? for booleanish methods. We have other cool operators on ts let foo foo ?= “set if missing” Or Const val = variable ?? “Set only if nullish value on variable”
1 reply
0 recast
1 reaction
Darryl Yeo 🛠️
@darrylyeo
Yeah! `??=` is super handy for assigning default fallback values imperatively. https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing_assignment
0 reply
0 recast
0 reaction