Profile avatar
techytacos.dev
My mom calls me mijo I do web platform things with a hint of 🏳️‍🌈 at Airbnb – Lit core team & xoogler on Chrome and Google Design
48 posts 341 followers 117 following
Regular Contributor
Active Commenter

Sometimes RSCs feel like the tail wagging the dog

Preact Signals just got a huge performance boost: Signals rendered as text/props & effects only "pull" as fast as needed for rendering. Since computeds run as-needed, they now only re-run as often as their downstream DOM output can be painted. H/t to @jovidecroock.com for making this happen.

You just love to see it!

Are you new to Lit & need a jump start? Or are you a Lit veteran & can't quite remember that _one_ callback name? Well do we have the article for you! We've just published the Lit Cheat Sheet! An article that has a bunch of quick code snippets for all sorts of code patterns lit.dev/articles/lit...

Has someone made an open source docker image that essentially deploys an open source ChatGPT interface and your favorite locally-hosted model to AWS or whatever? There are so many ChatGPT interface copycats out there, that there really should just be a common open source project that does this

I've never understood the dislike of decorators in the broader JS community. Ad-hoc metaprogramming is everywhere in JS. But formalise it and everyone hates it?

Now that AI writes code, can I call mine artisanal and hand-crafted?

SWTL really is that one project that I'm really proud of. I'm sure theres lots that can be improved in the code, but its pretty nice how small it is. I'm also very thankful of past me for commenting the code for future me 🙃

Is there no real documentation for the TS Compiler's Node API? Over the years I've just been relying on intellisense, examples, and intuition, but I can't seem to find proper docs or even a tsdoc for it. Am I missing a link here?

Are you a "log in / out" kind of person or a "log on / off" miscreant?

I am 🤏 this close to just replacing our DI system with `globalThis[key]`

The nice thing about Bluesky is that you can block the toxic Tech Twitter people who want to crash the 🦋 party

lit-html crossed 2.5M npm downloads per week and 11M downloads per month last month, and lit crossed 2M npm downloads per week! 📈 #webcomponents @lit.dev

Codebases with require() inside of ESM files deserve a paddlin'

Very cool - the new GitLens Home View is #builtWithLit and web components! 🔥

How did I not know about this in @lit.dev TL;DR – you can use `PropertyValues` to get strongly typed maps in lifecycle methods. 🤩

Now all three major browser engines are working on scoped custom element registries!!! It's been a long time since I first opened the proposal. I almost can't believe it's really happening... #webcomponents

Implemented scoped custom element registry in WebKit: commits.webkit.org/286828@main We now have two interoperable implementations!

As of Chrome 131 you have more options to style `<details>` and `<summary>`. You can now use of the `display` property on these elements, and also use a `::details-content` pseudo-element to style the part that expands and collapses. developer.chrome.com/blog/styling...

If you ever need to coordinate npm scripts you really should check out 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

I made a thing that helps me chain branches and PRs in Git github.com/e111077/baob...

Also check out @lit.dev SSR lit.dev/docs/ssr/ove...

I recently worked with a team that told me they couldn't use our web component library because #webcomponents don't work with SSR. There are a lot of misconceptions around this and it is only partially true, so I whipped up this article to help clarify things a little. dev.to/stuffbreaker...