Westbrook
@WestbrookJ
Followers
810
Following
18K
Media
181
Statuses
11K
Open web enthusiast. Maker of things with HTML, CSS & JS. Trombonist. Food lover. 日本語OK. Opinions are owned by no one by myself.
Joined October 2008
If you've recently though "I've not heard from Westbrook in a while", it's because I've been here ( https://t.co/SCE0VKv33b) and you likely should be there (or similar), too!
mastodon.social
4.75K Posts, 171 Following, 522 Followers · Open web enthusiast. Maker of things with HTML, CSS & JS. Trombonist. Food lover. 日本語OK. Opinions are owned by no one but my myself.
0
0
0
I will not participate on Twitter while D*nald Tr*mp has an active account. #VoteWithYourTweet Use your voice. Join us on
0
1
2
⚠️🚨⚠️ When tools intervene between you and your access to the web platform, proceed with caution. Ask not only: How well does it work? But also: How well does it fail? Not only: What features do they provide? But also: What features do they prevent? ⚠️🚨⚠️
0
3
8
The most important thing I learned after Uvalde is that there are over 50,000 school police officers in this country, but they haven't stopped even one school shooting. Instead they've arrested over 1 million kids, mostly students of color.
"Don't make a wrong move," an officer said as he pinned a struggling second-grader to the ground, ultimately for 38 minutes. "Period."
116
12K
35K
Super interesting stuff already at the @ModernFrontends conf. Not even an hour passed before being told react is slow 😂😂
3
2
11
Custom element authors can attach one or more "parts" to any element inside the shadow root. Those parts can then be styled by consumers using ::part(name). Fun fact: CSS parts are a lot like classes. In fact, they both use the DOMTokenList API!
3
4
31
Why can't I use symbols as event names? I thought this was a thing. Is it not a thing?
1
1
2
Now shipping: <is-land> v3.0.0 Adds support for Declarative Shadow DOM, `defer-hydration` attribute, performance improvements on `<is-land>` without loading conditions. Thank you @techytacos and @develwoutacause! Learn more:
github.com
Adds support for Declarative Shadow DOM #13 Thank you @e111077! Example demo Learn more at web.dev: Declarative Shadow DOM Notably, this does include a...
0
4
17
Lit might be a fair comparison to React, but there still shouldn't be a rivalry. You can use both and work together, and enhance each other. It'd be great if the React team shipped CE support which is already done btw. We've been waiting since React 16/17
Are we really still fueling the imaginary rivalry between React and Web Components as if they were mutually exclusive technologies? They don't even tackle the same problem space...
0
5
9
@WestbrookJ @passle_ Independent render roots is a big advantage, actually. It just naturally leads to scoping / pruning of updates, incremental hydration, and all kinds of good things. The assumption that there needs to be central control needs to be broken across the framework world.
1
1
7
#lazydev I remember seeing research as to the perf differences of a single master Mutation Observer for all things vs many focused ones...anyone have a lead or did I make it up?
2
0
3
S tier subtweet https://t.co/nMLCCNdbHP
0
1
2
me: notices the new GitHub repo UI feels *great* 👀 inspects 👀 one weird trick: #webcomponents
0
5
20
This is a very useful feature! If you are working with #webcomponents and you are focused within it, it will return the web component as the "active element". You can get the focused element within the component using "element.shadowRoot.activeElement".
1
2
5
Insulin was invented ~100 years ago, and its patent sold for $1. “Do you know the reason why [insulin is] $1,000 with insurance?” ~@AOC There is no reason for insulin to cost $21 in Canada for a 10 ml bottle, while it costs a mortgage payment in the US. https://t.co/K5XRJDTpJq
796
11K
35K
Just watched @lifelongdev’s talk on Web Components. Saw some name drops for @claviska (@shoelace_style) and @WestbrookJ 😄
1
2
9
The design prototyping team at Adobe is accepting applications for our summer internship program! Interested in helping prototype the future of 3D creative tools? Have 3D programming experience and a penchant for design and UX? This might be for you.
0
6
8
I've "made" a React Virtualized List https://t.co/dCa2TYaWOW
lit.dev
Simple. Fast. Web Components.
1
2
15