Sérgio Gomes

@sergiomdgomes
85 Followers
77 Following
62 Posts
Developing things on the web. Web performance engineer at Automattic. Clumsy maker.
Websitehttps://sgom.es
Twitter (inactive)https://twitter.com/sergiomdgomes

“React proponents might claim that React will teach you modern UI, but from what I've seen it barely copes with modern UI.”

💯

Great read by @keithamus

https://indieweb.social/@keithamus/113518012130847468

keithamus (@[email protected])

https://www.keithcirkel.co.uk/i-dont-have-time-to-learn-react/ I don't have time to learn React.

Indieweb.Social
The extremely low-tech, dumb solution to this, would be to enforce a path structure for the icons, and blindly attempt loading e.g. `/assets/icons/<iconname>.svg`. Or having server aliases set up for them so that the mapping is essentially baked into e.g. nginx instead.
Microsoft isn't using it right, teams at Amazon aren't using it right, it's not right for small dev teams, it's not right for small apps, it's not right for complex applications like browser UI or large apps, it's not right for static sites... who is it right for at this point

Do perfect Lighthouse scores mean perfect website performance?🔍✨

As Salma Alam-Naylor demonstrates in several experiments, Lighthouse is influenced by a number of things that can be manipulated, making sites seem more performant than they really are:
https://www.smashingmagazine.com/2024/06/how-hack-google-lighthouse-scores-2024/

How To Hack Your Google Lighthouse Scores In 2024 — Smashing Magazine

Do perfect Lighthouse scores mean the performance of your website is perfect? As it turns out, Lighthouse is influenced by a number of things that can be manipulated and bent to make sites seem more performant than they really are, as Salma Alam-Naylor demonstrates in several experiments.

Smashing Magazine
I wrote about how a framework choice can harm people in a moment of crisis. #webperf https://ericwbailey.website/published/modern-health-frameworks-performance-and-harm/
Modern Health, frameworks, performance, and harm

Performance, accessibility, and usability are more than just inconvenient truths you can pretend don’t exist. They have a direct impact on the quality of someone’s life.

Been thinking a bunch about compression dictionaries and resource bundling. Writing this post really helped me in that process https://blog.yoav.ws/posts/on_resource_bundling_and_compression_dictionaries/
On resource bundling and compression dictionaries

Vercel’s Next.js v14 has shipped and (as one does) I had a look at the JavaScript footprint of the production build of Hello World:

v14 (2023): 299 kB
v13 (2022): 272 kB
v12 (2021): 228 kB

Unfortunately the same trend continues, even with a new bundler: the bundles are growing!

(and with Tailwind included by default, too)

I'm disappointed that the myth that the "DOM is slow" persists to this day. Writing to the DOM is plenty fast, as long as it's at the right time, and you're not trying to do something unwise like serialising your entire app on every interaction / every frame.

You don't need a VDOM to manage the DOM. You just need to avoid giving it excessive and unnecessary work — perhaps the kind of work that comes from forcefully trying to apply a paradigm that is a fundamental mismatch to the DOM's.

#WebDev

Friendly reminder that when a third-party provider requires you to load their script in a render-blocking manner, their problems become your problems.

Got an email about a massive performance regression from a past client yesterday. Turns out a third-party provider was (still is) having server issues causing an absolutely massive regression in LCP. Thankfully an easy and quick fix: remove the script.

Always build with resilience in mind.

UPDATE: no need for further boosting. Thank you everyone!

My boss, Matt Mullenweg, the boss of Automattic, owner of Tumblr, is looking for ex-Twitter employees for Tumblr, saying,

"we're putting on a fast track to see how they can help super-charge Tumblr. We can't absorb thousands of people, but I'd be open to hiring entire teams if they already work great together."

https://twitter.com/photomatt/status/1593726621340426241

Our "work with us" page: https://automattic.com/work-with-us/

#Twitter #JobFairy #Automattic #Tumblr

Matt Mullenweg on Twitter

“@levelsio @automattic In particular I'd say people leaving @twitter we're putting on a fast track to see how they can help super-charge @tumblr. We can't absorb thousands of people, but I'd be open to hiring entire teams if they already work great together.”

Twitter