AI-generated comic in the style of "Yes, but". The "yes" frame shows this CSS: ``` .wrapper { container-name: --wrapper; } @container --wrapper { .child { … } } ``` The "but" frame shows this CSS: ``` @scope (.wrapper) { .child { … } } ```
Posts by Nmn
Thanks for reminding me!
Also IMO you also want the donut scoping from @ scope.
You don’t want the “scoped” styles to apply to anything inside of a nested component.
Check out how lightningcss polyfills light-dark
It’s got issues when using light-dark() as values for variables, but it works in any browser with support for variables.
And it’s possible to split every variables into light and dark versions and use the light-dark() only for application.
Try:
- Skyscraper
- Graysky
- Skeets
Can’t vouch for any of them too much but they all seem to work reliably enough in the short bursts that I’ve used them.
I’m very open to discussions about whether LLMs are “intelligent” or not. But this line of argument doesn’t really make sense IMO.
Language is what it always was. The medium of communication. The models generate language to communicate. This doesn’t mean they don’t have “intelligence”.
Also, most models are now multi-modal. They understand images, audio etc too. Not just language.
When you account for Gemini, Claude and the entire Chinese Market that have a completely separate apps, the number is easier over a billion.
Unlike smartphones, none if the western AI companies operate in China in any form.
That’s active users btw. Not just number of accounts.
You’re conflating how much utility people get from AI vs if they think it’s good for the world.
A lot of people find AI/ChatGPT very useful and yet feel uneasy about the ways it may affect society.
Secretly Microsoft logo?
Lame!
Does Tanstack router not use react transitions for navigation?
IMO this is a very well functioning system of capitalism and not anti-capitalist.
What we have today is closer to feudalism and not capitalism. (A few big players with fiefdoms and little to no choice for the rest)
Bit of a pedantic take, but the proliferation of the protocol would make a very competitive ecosystem and economy with little to no lock-in and easy portability of users and data. But it would still enable companies to compete and profit if they can win on their own merits.
Ive used react canary with both redwoodSDK and Waku so far.
You should be able to change the react version to the canary and it should work.
Everything else aside, these kinds of extremely severe bugs just being ignored for months really paints an absolutely terrible picture for Webkit and Safari.
@jensimmons.bsky.social you’re the only person I hope can get this the urgency it needs.
adactio.com/journal/22507
But also, pretext is super useful today for things like virtual scrolling. Being able to asynchronously calculate height of elements in a web worker would be massively useful!
Good text measurement was a massive issue for famo.us (fun fact I actually interned there for 3 weeks and tried and failed to make a react renderer around famo.us)
This library would have solved some of the problems famous had.
This work is so important that I reinstalled Bluesky to support it. Shoutout James and the rest of e18e for their thankless work making the web a better place
Who blocked who?
Rage and Prodigy?!
Some of the best music from the 90s!
FWIW, stylex.env was shipped recently and a type of “inline” api is in the works. So you might get something very close to your ideal soon
- Caching in dev mode. But it’s a minor annoyance.
- Use cache is still a bit unclear and last I tried broke things for me.
- the “one entry point for all RSCs” architecture doesn’t scale well enough. Needs a concept of “remote components” or something.
I built Solenoid that’s built on the same idea. Right now it’s built on alien-signals but I want to move it all to solid 2.0 for the signal implementation and APIs.
github.com/nmn/solenoid
The problem is not the glass material. It’s everything else. But mostly it’s how aggressive all the “chrome” covers content and literally gets in the way.
Finally getting my shadcn replacement published and here is why i built it:
We have just published a beta dev tools extension for chrome.
It’s great for debugging StyleX and also useful for other atomic style solutions.
(Mapping styles to source are obviously impossible with Tailwind, however)
Please report any bugs!
chromewebstore.google.com/detail/style...
Idk. I feel like the extreme rounded corners is about to suffer an overcorrection soon.
Already seeing bunch of “brutalist” design getting trendy.