
José Miguel Álvarez retweeted
"Check if an element is visible with React hooks" by @jmalvarezdev #DEVCommunity dev.to/jmalvarez/check-if-an…
📝 Decorator pattern in TypeScript
jmalvarez.dev/posts/decorato…
#TypeScript #javascript #webdevelopment
The composite design pattern is a structural pattern which allows you to create tree structures of objects and treat them as a single object.
jmalvarez.dev/posts/composit…
#typescript #webdevelopment
José Miguel Álvarez retweeted
Just learned JavaScript has logical OR assignment and logical AND assignment! 🔥
Logical AND assignment:
x &&= "x is truthy" // assigns if the left side is truthy
Logical OR assignment:
x ||= "x is falsy" // assigns if the left side is falsy
#javascript

ALT const user = { name: "Cory", email: '' }; // Logical AND examples: // --------------------- // Set name to 'known' if name is truthy user.name &&= "known"; console.log(user.name); // known (because name is truthy) // Set email to 'known' if email is truthy user.email &&= 'known'; console.log(user.email); // '' (because email is falsy) // Logical OR examples: // --------------------- // Set name to unknown if name is falsy user.name ||= "unknown"; console.log(user.name); // Cory (because name is truthy) // Set email to 'unknown' if email is falsy user.email ||= 'unknown'; console.log(user.email); // unknown (because email is falsy)
José Miguel Álvarez retweeted
Builder pattern in TypeScript
✍ @jmalvarezdev
bit.ly/3D1nwGJ
José Miguel Álvarez retweeted
Builder pattern in TypeScript
✍ @jmalvarezdev
bit.ly/3D1nwGJ
José Miguel Álvarez retweeted
In our last study group, Libor @sKopheK worked on @remix_run inspired by the presentation given by in @jmalvarezdev during Level Up #7 #programming #VALENCIA #javascript
José Miguel Álvarez retweeted
Bridge pattern in TypeScript by @jmalvarezdev
#typescript #architecture #javascript #webdev #hackertab
dev.to/jmalvarez/bridge-patt…
#TodayILearned that HTML Link tags accept media conditions!
I just published a post that contains an example of exactly this:
jmalvarez.dev/posts/html-lin…
#html #webdevelopment
The Complete Guide to A/B Testing: Expert Tips From Google, HubSpot, and More @Shopify @ShopifyEng
shopify.com/blog/the-complet…
The Bridge pattern is a structural design pattern that allows you to separate a big class or set of related classes into two different domains: abstraction and implementation.
Learn how to implement it: jmalvarez.dev/posts/bridge-p…
#TypeScript #javascript #webdevelopment
José Miguel Álvarez retweeted
Adapter pattern in TypeScript : dev.to/jmalvarez/adapter-pat…
I'm about to start learning JustJavaScript.com by @dan_abramov and @mappletons!
#javascript #webdevelopment
The adapter pattern is a structural design pattern that allows your code to communicate with other interfaces that are initially incompatible.
jmalvarez.dev/posts/adapter-…
#typescript #javascript #webdevelopment
Singleton pattern in TypeScript
jmalvarez.dev/posts/singleto…
#typescript #javascript #webdevelopment
Thank you to @ValenciaCodes for the opportunity, I enjoyed it a lot! I hope the talk was interesting.
Replying to @ValenciaCodes
First video of our Level Up #7:
Creating a fast website with Remix framework youtu.be/e5CRWlcyVX8










