←
Umar Hansa4,080 posts
Umar Hansa avatar

Umar Hansa

@umaar

• I tweet developer tips and tricks • Made ModernDevtools.com • Developer tips umaar.com/dev-tips/

◷ Joined November 2008▧ 1,172 Photos and videos
Ivan Akulov avatar
⟳ Umar Hansa retweeted
Ivan Akulov@iamakulov·30 Oct 2025

Neat lil learning from today’s @PerfNowConf (via @umaar): You can now throttle individual requests in Chrome! Neat for experimenting with stuff like - lazy-loading: does the UI look okay if this chunk takes MUCH longer to arrive? - resilience: what happens if this specific CDN is extremely slow? - etc

Post attachment
Umar Hansa avatar
Umar Hansa@umaar·6 Mar 2025

📢 The Chrome DevTools flame chart has just become *much* easier to use. I wrote about these new features (for DebugBear), and other new DevTools features you probably didn't know about. debugbear.com/blog/favourite…

Umar Hansa avatar
Umar Hansa@umaar·24 Feb 2025

Claude 3.7 drawing pelicans with SVG Noticeable improvements with each new model > Generate an SVG of a pelican riding a bicycle. Make it look like the pelican is riding the bike with an animation. Also make the bike do a wheelie every few seconds

Simon Willison@simonw25 Oct 2024

Playing with a new LLM benchmark: how good are they at drawing an SVG of a pelican on a bicycle? Here's the difference between Claude 3.5 Sonnet new and Claude 3.5 Sonnet previous

Post attachmentPost attachment
Umar Hansa avatar
Umar Hansa@umaar·21 Nov 2024

Shared some DevTools tricks that I use, you'll want to expand the thread!

Umar Hansa@umaar21 Nov 2024

20x CPU throttling is a pretty helpful for catching perf issues on a fast machine

Post attachment
Umar Hansa avatar
⟳ Umar Hansa retweeted
Umar Hansa@umaar·11 Oct 2024

🆕 Enabling SSR in your JavaScript framework can make your web performance worse I discuss JavaScript hydration, amongst other topics, in this new blog post In case you're wondering, no, the solution is not to ditch SSR developer.mozilla.org/en-US/…

Umar Hansa avatar
Umar Hansa@umaar·2 Oct 2024

I've been using Ruby on Rails recently, everything's server-side by default, minimal JS. Got me thinking about the govuk guidance: > If you use a JavaScript framework you should be able to justify with evidence, how using JavaScript would benefit users gov.uk/service-manual/techno…

Post attachment
Tiger Abrodi avatar
⟳ Umar Hansa retweeted
Tiger Abrodi@TAbrodi·14 Nov 2021

TIL. Chrome DevTools: Improve page accessibility by emulating vision deficiencies. This is neat! Two examples: Protanopia - Colour blindness resulting from insensitivity to red light Deuteranopia - Red-green colorblindness umaar.com/dev-tips/231-emula…

Post attachment
Umar Hansa avatar
Umar Hansa@umaar·4 Sep 2024

Their full list is great. You should be able to: - zoom up to 300% without the text spilling off the screen - navigate most of the website using just a keyboard - navigate most of the website using speech recognition software - listen to most of the website using a screen reader

Umar Hansa avatar
Umar Hansa@umaar·4 Sep 2024

"Please zoom your browser to 80%" 🤷‍♂️ PSA to web devs: test and use your website at different zoom levels. Is your website still usable? Big fan of this, found on govuk "You should be able to zoom up to 300% without text spilling off the screen" from: platforms.service.gov.uk/hel…

Post attachment
Umar Hansa avatar
Umar Hansa@umaar·2 Sep 2024

Wrote a guide on collecting web performance metrics from JavaScript, and sending those metrics to a @CloudflareDev Worker. Workers are great. Was able to store metrics in a database, and send an email when performance degrades - all for free! debugbear.com/blog/core-web-…

Umar Hansa avatar
Umar Hansa@umaar·28 Aug 2024

Still see the question pop up every now and then Here's why JavaScript might not be available in your web application Service workers, View Transitions, Speculation Rules...you can get instant page loads and SPA-like behaviour with these APIs. Use them! piccalil.li/blog/a-handful-o…

Umar Hansa avatar
Umar Hansa@umaar·16 Aug 2024

People seem to like the Modern DevTools Debugging post from yesterday, so here's a new video to watch and follow along. If the DevTools Performance Panel feels overwhelming, this video is for you ⬇️ youtube.com/watch?v=aTb5eTiA…