Luca Barone
cloud-walker.bsky.social
Luca Barone
@cloud-walker.bsky.social
Reposted by Luca Barone
One of the reasons I started developing Waku waku.gg is to experiment with Jotai and RSC. I'm proud of the first PoC of Waku/Jotai integration. It's still very limited, and we need to explore more, but for me, it's a great milestone.

Demo: stackblitz.com/edit/github-...
January 31, 2025 at 1:44 PM
Reposted by Luca Barone
BIG DAY 😇

Introducing Standard Schema! It’s a specification for a standard interface to be implemented by TypeScript schema libraries. The goal is to make it easier for frameworks and tools to accept user-defined schemas, without writing separate adapters for different libraries.
standardschema.dev
Standard Schema
A common interface for TypeScript validation libraries
standardschema.dev
January 27, 2025 at 4:24 PM
It's sad that the proposal seems stuck 😢
January 4, 2025 at 7:27 AM
Just wow 😮
Wildest #CSS media query I've written in a while

`@container (inline-size >= calc(100cqi - 120px))`

yep, `calc()` in a MQ!

WHY?
to re-anchor buttons to be "inside" when space is tight

Video:
purple outline's are containers, buttons adapt to containers or the page

nerdy.dev/carousel-ada...
December 19, 2024 at 9:21 PM
At my company we use tailwind 3 as the CSS solution for our Design System library, and the new tailwind 4 direction seems worse than the 3, all is CSS now, we got design tokens in JS, and in the future we want to import them from an API.
December 10, 2024 at 11:18 PM
Reposted by Luca Barone
Everyone I know who fell in love with TS had a period of thinking it totally sucked
December 8, 2024 at 8:21 AM
@tsx.is users, do you use tsx in production (to spin up the server) or not?

The docs are a bit vague on that: tsx.is/faq#can-shou...
November 28, 2024 at 8:38 AM
Reposted by Luca Barone
New post on the @ariakit.org newsletter ✨
Performance, Tailwind v4, and more
Improved performance by 20-30% by working around useSyncExternalStore, new features, Black Friday discounts, and more.
newsletter.ariakit.org
November 26, 2024 at 4:28 PM
Reposted by Luca Barone
📚 Had to post this a lot on the other platform lately and apparently, it blows people's mind that this is possible. I wrote it over 2 years ago, and callback refs will only get better in v19 because they will get cleanup functions. Have a read:

tkdodo.eu/blog/avoidin...
Avoiding useEffect with callback refs
Interacting with DOM nodes doesn't necessarily need useEffect
tkdodo.eu
November 22, 2024 at 8:05 AM
Hi folks! I'm trying to implement very interactive charts (like the ones in the screens), that for example offers "pressed" state for every point of the chart.

There is some modern way of achieve them?

I solved the first one with CSS Grid, and @ariakit.org , but the second one is killing me 🫠
November 15, 2024 at 4:36 PM