fell, to CSS
@fell@ma.fellr.net avatar

CSS has a containment property whichs sole purpose is to improve rendering performance.

So, first, we develop an abstraction so developers don't have to worry about implementation details like performance. Then, as soon as we realise that our abstractions are (obviously) dog slow, we add more stuff to make them fast again and have developers worry about that instead.

At this point, we might as well ship websites as compiled binaries.

fell,
@fell@ma.fellr.net avatar

@MerriNet Not saying you're wrong, but I just went by what the MDN said: "The aim of the CSS containment module is to improve performance of web pages by allowing the browser to isolate a subtree of the page from the rest of the page."

MerriNet,
@MerriNet@mastodon.social avatar

@fell I didn't argue against that.

What I said is that these performance features have existed in CSS for 20+ years. You did need to know to use overflow: hidden; if you wanted a well performing collapse/expand animation.

The performance worry has always been there. You worry about perf no matter what you use or do.

There are far more idiotic things happening on the web space. Just look at React. It is the best dev time waster to perf and size optimizations, and people still keep using it.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • rosin
  • Durango
  • cisconetworking
  • mdbf
  • InstantRegret
  • DreamBathrooms
  • ngwrru68w68
  • magazineikmin
  • osvaldo12
  • Youngstown
  • ethstaker
  • slotface
  • kavyap
  • JUstTest
  • thenastyranch
  • normalnudes
  • modclub
  • khanakhh
  • everett
  • tacticalgear
  • cubers
  • GTA5RPClips
  • anitta
  • Leos
  • tester
  • provamag3
  • lostlight
  • All magazines