Discussion
Loading...

Post

  • Log in
  • Sign up
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Federation Bot
Federation Bot
@Federation_Bot  路  activity timestamp 5 months ago

I'd missed this piece in TNS, but nearly everything about it is correct:

https://thenewstack.io/css-in-js-the-great-betrayal-of-frontend-sanity/

Early proponents of this stuff were warned *directly* by browser engineers (incl. yours truly) that this would scale horribly, and indeed the post doesn't even cover the worst performance aspects of this nonsense: by repeatedly perturbing the global style set, CSS-in-JS runtimes *destroy the browser's layout caches*. A bonfire of the sanities.

  • Copy link
  • Flag this post
  • Block
felix (grayscale) 馃惡
felix (grayscale) 馃惡
@gray17@mastodon.social  路  activity timestamp 5 months ago

@slightlyoff
this article seems to be AI slop. half the links make no sense.

> made [the simple act of styling a button] as complex as

links to an article comparing css-in-js frameworks, which says nothing about styling buttons.

> Anything [involving commerce] is at risk

links to www.commerce.com, which is an odd choice

> CSS-in-JS didn鈥檛 make styling faster: [it just made debugging slower].

links to a stackoverflow question that has nothing to do with css-in-js or debugging

  • Copy link
  • Flag this comment
  • Block
Instance logo
bonfire.cafe
Log in Create account
Banner for bonfire.cafe

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About 路 Code of conduct 路 Privacy 路 Users 路 Instances
Bonfire bovenjan 路 1.0.3-alpha.10 no JS en
Federation disabled
Instance logo
  • Explore
  • About
  • Members
  • Code of Conduct

Install bonfire.cafe

Get the full app experience

1 Tap Share 2 Add to Home Screen