@steveworkman@webperf.social
@steveworkman@webperf.social avatar

steveworkman

@steveworkman@webperf.social

Front-End Lead @Maersk, @BerkshireJS organiser, occasional speaker & #webperf advocate. Used to run @webstandards. He/him/his. Opinions are my own

This profile is from a federated server and may be incomplete. Browse more on the original instance.

steveworkman, to random
@steveworkman@webperf.social avatar

web.dev is now available in China as https://web.developers.google.cn/ - reminds me to continue to write up my China CDN article - 2000 words and counting /cc @paul

steveworkman, to 11ty
@steveworkman@webperf.social avatar
Thayer, to random
@Thayer@mastodon.social avatar

New gaming desk lights!

steveworkman,
@steveworkman@webperf.social avatar

@Thayer those are amazing! Where did you find them?

steveworkman, to random
@steveworkman@webperf.social avatar

10 points to @owa and everyone who correctly identified Apple's 💩 about breaking PWAs in the EU. -1,000,000 points to Apple for genuinely breaking the UX of many applications for a whole generation of developers

https://developer.apple.com/support/dma-and-apps-in-the-eu

(see the section on "Why don't users in the EU have access to Home Screen web apps")

steveworkman,
@steveworkman@webperf.social avatar

@owa and the DMA is the Triwizard cup and you finally pick it up and just look who's there on the other side in the web app graveyard, ready to make everything worse

scottjehl, to random
@scottjehl@mstdn.social avatar

A question for front-end developers:
I still often hear folks say that Web Components look nice but they just aren't mature enough to rely on in cases where they'd reach for React, etc. My impression is the support, patterns, and tools surrounding Web Components are now quite good, so I'm curious to hear which aspects are still not there, or simply are just not clicking yet for people. Are you waiting on specific features? Bigger community? Framework integrations? Boss approval? Training? Thx!

steveworkman,
@steveworkman@webperf.social avatar

@scottjehl our design system is Lit-based and we are comfortable with it's SSR ability. I reach for Vue when I need to share state and have updates to shared state make other changes. I haven't looked deep enough at web component state stores and their reactivity to go all-in on it. Same for SPA router functions

steveworkman, to random
@steveworkman@webperf.social avatar

After a long week I have two threads noodling in my brain - 1. The weird complexities of CDNs in China and 2. Address formats of the world and their total lack of normalisation

Which one first?

steveworkman, to random
@steveworkman@webperf.social avatar

After years of fighting, Apple finally lets other browser engines onto iOS* https://developer.apple.com/support/alternative-browser-engines

*EU only though - and there's a whole bunch of conditions that I hope they've not made it impossible for Chromium and Gecko to follow

steveworkman,
@steveworkman@webperf.social avatar

@Marcus who knows - I bet they will make it as difficult as possible in the name of security

jaffathecake, to random
@jaffathecake@mastodon.social avatar

Yay! React 19 will have custom element support! https://github.com/facebook/react/issues/11347#issuecomment-1899140345

steveworkman,
@steveworkman@webperf.social avatar

@jaffathecake this is good news. It feels like it's 2 years too late tho.

Thayer, to random
@Thayer@mastodon.social avatar

Solar panel friends! I am thinking of joining you. What one or two tips do I need to know during the quoting phase? Thanks! (boosts appreciated!)

steveworkman,
@steveworkman@webperf.social avatar

@Thayer we got ours done with a Solar Together scheme https://solartogether.co.uk/ run via the council. Quick, efficient and relatively cheap, though beware of extra costs for scaffolding - a local company would probably just carry them up a ladder to install - as the scheme means to has to be done in a specific way.
With this you get less choice on hardware but it's all pretty decent these days i.e. our inverter is internet connected but battery is not so can't take full advantage of agile tariffs

steveworkman,
@steveworkman@webperf.social avatar

@Thayer and as @Edent said, speak to neighbours. You'll get sold bird-proofing but if you see a few doors down they don't have it but no issues with nesting birds then you've saved £500!

castastrophe, to random
@castastrophe@front-end.social avatar

Reading an old favorite of mine to my 6-yr-old called Redwall (Brian Jacques). I’m so impressed at both his engagement in the story and also comprehension. It’s a beautifully written story but uses a lot of large words and dense descriptions. There are no pictures in the book save one small map at the beginning and the type is impossibly small, but my curious little guy is asking all kinds of insightful questions and is loving the drama!

steveworkman,
@steveworkman@webperf.social avatar

@castastrophe they are information sponges at that age! I dug out my dad's copy of The Hobbit for my 7-yo and he loved it, same with the Paddington series of books, even though the language is old and fanciful

steveworkman, to random
@steveworkman@webperf.social avatar

Github goes down at precisely the time I want to publish my code. It's like it stares me in the eye and says "Not Today friend! Not today!"

steveworkman, to random
@steveworkman@webperf.social avatar

This is the ford over the river Loddon near where I live. You can't see the depth marker that this warning sign describes because it too is underwater

steveworkman,
@steveworkman@webperf.social avatar

@NotTheLBCGuy None! They seem to be observing the giant road closed signs! I've seen loads get stuck in the summer when it's only 2 feet deep

steveworkman,
@steveworkman@webperf.social avatar

@NotTheLBCGuy yeah, we're fine, you'd need another 4 feet of the Thames to get anywhere near our place

steveworkman, to random
@steveworkman@webperf.social avatar

Loving this American to British English find/replace error

joelanman, to webdev
@joelanman@hachyderm.io avatar

eh.. trying Prettier and not having a good time, I like to add new lines to make code more readable and it deletes them with no config to stop doing that. Don't think it's right for me, is there a more configurable alternative?

steveworkman,
@steveworkman@webperf.social avatar

@joelanman it is very opinionated but configurable. Have a play with the line length setting so see if you can get it more to your liking

steveworkman,
@steveworkman@webperf.social avatar

@joelanman ugh, that configuration sucks balls.

Prettier-eslint is what you're looking for

steveworkman, to random
@steveworkman@webperf.social avatar

Doing my best to write a Christmas-themed web development quiz. I need some more ideas - we can only use Intl.DateTimeFormat to get Santa's timezone so many times

steveworkman, to random
@steveworkman@webperf.social avatar

Does anyone have research on performance impacts of shadow-root nesting within custom elements? Like, is more than 3 levels of nesting bad for you?

steveworkman,
@steveworkman@webperf.social avatar

@westbrook good to know and something to keep an eye on at least. Thanks!

steveworkman,
@steveworkman@webperf.social avatar

Thanks to @westbrook I got Speedometer 3.0 running and added the TodoMVC-Lit-Complex test (not there by default right now).

Complex lit is 55-70% slower than regular lit, with a huge tree-view component thrown in.

Still, that brings it up to Vue speeds, which is still pretty fast

steveworkman,
@steveworkman@webperf.social avatar

@westbrook It seems to be more about volume than shadow root depth - the extra components seem to be a Spectrum design system tree menu component.

Here's a screenshot of selected results

steveworkman,
@steveworkman@webperf.social avatar

@slightlyoff @westbrook good to know.

I'm looking at this as a vendor that does session replay said some perf issues with their deep search were due to my components having a large tree and 4 levels of shadow root nesting. I want to know if that's 💩 or not

  • All
  • Subscribed
  • Moderated
  • Favorites
  • bokunoheroacademia
  • khanakhh
  • InstantRegret
  • Durango
  • magazineikmin
  • Youngstown
  • rosin
  • everett
  • slotface
  • GTA5RPClips
  • mdbf
  • kavyap
  • thenastyranch
  • DreamBathrooms
  • relationshipadvice
  • rhentai
  • modclub
  • cubers
  • tacticalgear
  • osvaldo12
  • normalnudes
  • ethstaker
  • tester
  • lostlight
  • cisconetworking
  • HellsKitchen
  • Leos
  • sketchdaily
  • All magazines