The "asChild" prop is an accessibility nightmare. It makes it extremely easy to end up with things like <a type="button" role="menu">.
The "asChild" prop is an accessibility nightmare. It makes it extremely easy to end up with things like <a type="button" role="menu">.
๐ฅ I've been debugging @nodejs.org performance for over a decade. The hardest part? Making sense of thousands of stack frames in a flamegraph.
What if your AI assistant could do that for you?
Today, we're releasing a new feature in `@platformatic/flame`. ๐งต
๐ npx unbarrelify
At last, an easy way get rid of barrel files!
Rewrites consumers to import directly from source, then deletes the barrels.
Safe and fully automated, read all about it at github.com/webpro/unbar...
:nth-child() was upgraded (a long time ago, but no one seems to know about it)
youtube.com/shorts/rep-C...
New blog post: Don't fall into the anti-AI hype.
antirez.com/news/158
Since people seem to interested in alternative Server Component architectures, might as well publish the source. These documents are rough, basically brain dumps. But I think thanks to Tanstack there is interest.
"Isomorphic First Framework"
hackmd.io/@0u1u3zEAQAO...
Missed that this was even coming, very neat!
react.dev/reference/re...
Solves a longstanding pain point with `useEffect`.
TIL: the "sync" in @react.dev's useSyncExternalStore isn't for "synchronise", it's for "synchronous".
As: it's not for synchronising against an external store,
It's for synchronously (ie: disabling concurrent features) updating against a store's changes.
h/t @tkdodo.eu ๐คฏ
๐ Good news, everyone: GraphQL now supports OneOf input objects (aka input unions)!
This long-requested feature is a small change that packs a big return for developers, making schemas more expressive and APIs easier to use. Read all about it ๐
graphql.org/blog/2025-0...
Zodโs new Codecs feature looks pretty neat - easy bidirectional transformations:
colinhacks.com/essays/intro...
If you ever wanted to use `sizes=auto` and were bummed out about Safari/Firefox support, Shopify now got a polyfill for ya! github.com/Shopify/auto...
@danabra.mov just dropped a blog post in the comments where he points out why RSCs effectively solve the problems a number of disparate technologies were created to solve (but can fall short). High quality content.
This is delightful. I was totally expecting it to not work on mobile, but it does!
thirty-five.com/overengineer...
programmers are always posting like "worked on tracking down an issue with a Flurble deployment for twelve hours. the problem wasn't in Flurble at all - it was in the Gumbies install. It turns out if you install Gumbies 3.0 over Gumbies 2.7 and don't do a cache flush on all the client spiders they'll get stuck in the crystal maze." then you look up Gumbies and the site is one of those scroll scroll scroll types with one sentence per page, like "GUMBIES is a lean, expressive sharding sandcube for testing and deploying large scale Woodchips playgrounds. GUMBIES automates and streamlines away watersliding phases, meaning your team can get right to the chipping. See why Microsoft, OpenAl and Bloingo have embraced GUMBIES in their Woodchips workflows." and you get to the bottom and you're like I want this I guess but I still don't know what
This is my entire life
If youโre using React Hook Form, the new lenses addon makes it miles easier to create strongly typed reusable fields:
github.com/react-hook-f...
Got rid of so many generics with this, and everything is still typed properly.
Unlikely to dethrone any transpilers with just a 10x perf boost, but a huge win for the language server alone.
Funny considering that Go has the least expressive type system known to man, but this is amazing and unexpected news:
devblogs.microsoft.com/typescript/t...
โIntroducing command and commandforโ by @keithamus.social
This is one of the most exciting additions to the web platform in a while, in my opinion. Opens many opportunities from the get-go, but also opens many good opportunities in the future.
developer.chrome.com/blog/command...
#html #js #web
This new library does seem interesting.
A more powerful, easily chainable kind of class mixins...?
www.reddit.com/r/typescript...
I heard react-router v7 has middleware ๐
github.com/forge-42/bas...
This is a great tip to avoid having to set โas constโ on a thousand separate string inputs in TypeScript:
pawelgrzybek.com/infer-type-o...
Didnโt know this:
> For React refresh to work correctly, your file should only export React components.
github.com/vitejs/vite-...
Thereโs an ESLint rule and everything:
github.com/ArnaudBarre/...
Great post today from a former NYT dev who traced the history of the widespread `useIsomorphicLayoutEffect` snippet back through multiple libs...
and identified "a React-Redux maintainer" as the main source that everyone copied.
Uh. Hi. Yes. That'd be me :)
smoores.dev/post/no_such...
An overview of the CSS code from the provided link
Illustrating how to remove spaces above and below an uppercase text
๐ก CSS Tip!
Save this one line of code for the future!
css-tip.com/center-upper...
No more hacky code trying to remove those spaces above and below an uppercase text. You can easily have a perfect centering for the text!
#CSS
๐ข We're finally looking to ship Observables in Chrome!! It's been a long time comingโmany thanks to all in the community for the great feedback and help along the way!!
Especially @benlesh.bsky.social, @keithamus.social, @domenic.me, @jordan.har.band & more! ๐
groups.google.com/a/chromium.o...
Got this neat suggestion during the Vitest workshop this week.
Wen can technically use `expect.fail` in "onUnhandledRequest" to make MSW actually fail the tests where unhandled requests happen.
This isn't something I recommend as of now but an interesting idea.
Iโve avoided `text-align: justify` for years. Do modern #CSS properties unlock its potential? cloudfour.com/thinks/justi...
#Typography #WebDesign #WebDev
Late to the party but this was a fascinating listen:
podcasts.apple.com/gb/podcast/8...
Wild to think that at this scale it was cheaper to just rewrite Webpack in Rust.