News for hackers. Stuff that matters.
Re:Real-world CSS vs. CSS-in-JS performance comparison by iaml on Wednesday June 09, 2021 @04:20PM (#27452665)
> you can create a system that will allow you maintain and apply your presentation layer in an efficient, extensible, consistent and reusable way.

If that is your intention, typescript is a better tool for the job: you get type safety, ide autocomplete, tests (have you ever written a test for css?). You are right, being a domain specific solution is a benefit, but that has nothing to do with how good of a system you can make with it. I'm sure it's possible to write a system in typescript that would be as good as what you describe, but it will be more flexible at expense of being slower.

Re:Real-world CSS vs. CSS-in-JS performance comparison by lwhi on Monday June 14, 2021 @05:50AM (#27500868)
I don't know how to say this any other way.

I think you are entirely incorrect.

Typescript is absolutely not the solution.