Duffeh
@duffeh.bsky.social
1K followers 2.6K following 1K posts
Software engineer mainly working with javascript, nextjs, typescript and astro | talk about web performance | www.iankduffy.com | he/him
Posts Media Videos Starter Packs
The spyglass is your friend is something I learned quickly when exploring the world.
It's amazing, barely though the story and at like 16 hours.
Yeah this is also true, still wish nextjs went down a route of progressive hydration. I know some people have done it via suspense to defer it but that means them components can't be server side rendered.
I don't want AI, I just want to open an application or file I need every now and again.
Copilot on the taskbar is one of Microsoft's new Windows 11 features it announced today. It replaces the search box and gives you a launcher-like prompt window and access to Copilot Vision / Voice
Core web vitals are Googles metrics for web performance, LCP looks at speed of load, CLS looks at layout shifts / stability, and INP is responsive to users.

React re rendering too much could harm INP as the main thread gets blocked.
It would be interesting to see what comes up like the size of scripts (next app is like 120kb now)

I seen some people do wild stuff with nextjs for not good reason like loading skeletons over LCP images, which makes me worried a generation of devs now have bad habits.
I have seen e-commerce sites do this which I absolutely hate, I often wonder if it a product of them saying the framework will handle performance so a generation of developers haven't learned basics.
Not defending nextjs here but the apps should be delivering html from the server and then hydrating on the client, unless people are adding suspense boundaries on key parts of the page or choosing to only render on the client via use effect.
Reposted by Duffeh
Daisy Cooper, "Will the Prime Minister Keir Starmer ask our security services to assess the threat that Elon Musk poses to our democracy"
Yeah same, we come out here twice a year, just to relax and see friends.
Cheers, in Gran canaria for a few days.
Yeah I'm kinda surprised how much I got into writing articles this year. But I found when I am passionate about it, it just naturally flows.
Same, English was just something I struggled with at school, I had to resit my GCSE English to get in Leeds Mets University, otherwise it would have been unlikely I left my home town.
Where I agree, when the campaign starts for an actual vote that could easily change especially as the media target.
Straight to the all inclusive bar after checking in.
Cheers for sharing, recently worked on a existing site using some unique client side rendering method where header was last 😅 and a trip to my home town showed how jarring when stuff don't load as expected.

Just because Google doesn't have metrics, doesn't mean it doesn't impact user experience.
So turns out React throws hydration error on <template> html element existing in the initial html🤦‍♂️ must be because it a document fragment, but they goes that idea to build some sharable web components.
Reposted by Duffeh
"Time to Brand Identity" iankduffy.com/articles/tim...

It's tempting to be drawn into thinking that the Largest Element is the most important one on the page.
@duffeh.bsky.social covers how to measure other perhaps equally important visual elements with ElementTiming (one of my favourite APIs)
Time to Brand Identity | Articles | IanKDuffy.com
An Article on Time to Brand Identity | Articles
iankduffy.com
I remember after school club having the codes written down on a random piece of paper.
Isn't one of the first things musk did was wipe out api for this.
Reposted by Duffeh
Huh, TIL there’s an element, and it can be used to display the result of user inputs in a screen-reader-friendly way! I can think of a bunch of places I should be using this 😄

denodell.com/blog/html-be...
HTML’s Best Kept Secret: The output Tag
Make your dynamic content accessible by default with the HTML tag that time forgot.
denodell.com