Web components can accept any data in to properties just fine, and web components developers do just that every day.
#fhir #fhirdevdays
#fhir #fhirdevdays
#fhirdevdays #fhir
#fhirdevdays #fhir
Let's say you want to hide some DOM but preserve component state. You can do this with the cache() directive:
Here when showView is toggled from true to false back to true, the DOM fragment for the expression is extracted, saved, and restored - preserving all the state.
Let's say you want to hide some DOM but preserve component state. You can do this with the cache() directive:
Here when showView is toggled from true to false back to true, the DOM fragment for the expression is extracted, saved, and restored - preserving all the state.
jschof.dev/posts/2025/4...
jschof.dev/posts/2025/4...
Tailwind v3: "you can have a little CSS, as a treat"
Tailwind v4: "ok fine best practices work, but we're gonna sell that as our feature"
thathtml.blog/2024/12/tail...
Tailwind v3: "you can have a little CSS, as a treat"
Tailwind v4: "ok fine best practices work, but we're gonna sell that as our feature"
thathtml.blog/2024/12/tail...
#webcomponents #javascript
dev.to/stuffbreaker...
#webcomponents #javascript
dev.to/stuffbreaker...
modernwebweekly.com
modernwebweekly.com
1. the Document Picture-in-Picture API which enables web apps to populate a PiP window with arbitrary HTML 💪
🧵1/6
Here's a demo of Chrome
1. the Document Picture-in-Picture API which enables web apps to populate a PiP window with arbitrary HTML 💪
🧵1/6
Here's a demo of Chrome
Wireit is like the missing script runner for npm. It lets you describe script dependencies, inputs, & outputs; then runs scripts & deps in order and caches their output.
github.com/google/wireit
Wireit is like the missing script runner for npm. It lets you describe script dependencies, inputs, & outputs; then runs scripts & deps in order and caches their output.
github.com/google/wireit
"We have 22,000 options in the combobox web component, but it seems to be running slow. How do we fix that?" 🤦♂️
"We have 22,000 options in the combobox web component, but it seems to be running slow. How do we fix that?" 🤦♂️
I don't blog a lot, stream, or make videos. My followers grew slowly from my work and speaking at conferences. But I haven't given a talk in a long time. Feels like I'll have to be a lot more active to get back to where I was.