Patrick Hund (@wiekatz) 's Twitter Profile
Patrick Hund

@wiekatz

Principal web engineer at @Adevinta. I love building stuff with JavaScript. Opinions are my own. He/him. Find me on Mastodon: @[email protected]

ID: 156740867

linkhttps://www.adevinta.com calendar_today17-06-2010 19:45:48

3,3K Tweet

1,1K Followers

1,1K Following

Steve (Builder.io) (@steve8708) 's Twitter Profile Photo

This is one you need to know. JS has a built-in function for deep cloning objects called `structuredClone`, which can handle: 😍 Deeply nested objects and arrays 🌎 Many types, like Date, Set, Map, etc ➰ Circular references More in my latest article: builder.io/blog/structure…

Patrick Hund (@wiekatz) 's Twitter Profile Photo

Why do so many people record videos of themselves with their microphones shoved right into their face? My microphone sounds just fine when it‘s 50 cm away from my mouth, out of sight for the camera 🤔 youtu.be/8pDqJVdNa44 (Great video, by the way)

Matt Pocock (@mattpocockuk) 's Twitter Profile Photo

So - I shipped it. ts-reset acts like a CSS reset, smoothing out TypeScript's hard edges and letting you opt-in to exactly which improvements you want. You can install it right now, and start chucking away those any's. github.com/total-typescri…

Joan León 🏞️⚡️ (@nucliweb) 's Twitter Profile Photo

Web Performance Tip: add the attribute loading="lazy" to all images below the fold to delegate the lazy load function to the browser. In this case, I added it to all images for mobile devices to avoid download more than 15MB 🙈 #WebPerf #ImagePerf #Images

Web Performance Tip: add the attribute loading="lazy" to all images below the fold to delegate the lazy load function to the browser.

In this case, I added it to all images for mobile devices to avoid download more than 15MB 🙈

#WebPerf #ImagePerf #Images
Joan León 🏞️⚡️ (@nucliweb) 's Twitter Profile Photo

⚡️💾 Web Performance Snippets A curated list of snippets to get Web Performance metrics to use in the browser console github.com/nucliweb/webpe… #WebPerf #Performance #PerfTips

Cory House (@housecor) 's Twitter Profile Photo

JS arrow functions are great. ✅ Concise ✅ Optional implicit return ✅ Don’t have their own “this” context But, I don’t recommended using them everywhere. Prefer function declarations for *top-level* functions. Here's why.

JS arrow functions are great.

✅ Concise
✅ Optional implicit return
✅ Don’t have their own “this” context

But, I don’t recommended using them everywhere.

Prefer function declarations for *top-level* functions. 

Here's why.
E L   H O T Z O (@elhotzo) 's Twitter Profile Photo

„mit solchen Aktionen überzeugt man niemanden vom Klimaschutz😡“ …warum…muss man…überhaupt…irgendwen…überzeugen…dass man…die Lebensgrundlage der Menschheit…erhalten sollte…

Patrick Hund (@wiekatz) 's Twitter Profile Photo

🤔 I thought one of the advantages of #typescript is that you have to write fewer unit tests, because of the type safety…?

Robert Komaniecki (@komaniecki_r) 's Twitter Profile Photo

I teach college music theory, but I'm also a new dad. I decided to combine my professional and personal identities and make a thread of music for babies where the adult musicians went way, way harder than they had to. (1/12)

I teach college music theory, but I'm also a new dad. I decided to combine my professional and personal identities and make a thread of music for babies where the adult musicians went way, way harder than they had to. (1/12)
Mosquito Capital (@mosquitocapital) 's Twitter Profile Photo

Have you wondered why everyone is freaking out about the changes to Twitter Blue? Without talking about any particulars, I'll talk about why it's worrying. Background: I was a Site Reliability Engineer at Facebook/Instagram, and I've seen a lot of product changes come and go.

Patrick Hund (@wiekatz) 's Twitter Profile Photo

The number of tweets about AI that uses the phrases "this is insane!" and "this will blow you mind!" is insane and blows my mind 🤯

Joan León 🏞️⚡️ (@nucliweb) 's Twitter Profile Photo

Use media to define a media query to load a responsive image The browser loads the `image.jpg` in mobiles version, the `image-wide.jpg` in tablets resolutions or bigger, and the `image-ultrawide.jpg` will be loaded in screen resolutions bigger than 1200px #WebPerf #ImagePerf

Use media to define a media query to load a responsive image

The browser loads the `image.jpg` in mobiles version, the `image-wide.jpg` in tablets resolutions or bigger, and the `image-ultrawide.jpg` will be loaded in screen resolutions bigger than 1200px

#WebPerf #ImagePerf