Sal Rahman · @manlycoffee
70 followers · 976 posts · Server techhub.social

Why don't some people like CSS-in-JS?

Is it because code written in CSS-in-JS don't allow you to take advantage of the "cascading" nature of CSS?

Is it because you can't take advantage of selectors?

Is it because there might be some compilation steps required when employing CSS-in-JS? And if compilation isn't used, there might be some render-time slowdown?

?

#css #javascript #jsx #react #solidjs #preact #cssinjs #webdevelopment

Last updated 1 year ago

Inautilo · @inautilo
88 followers · 181 posts · Server mastodon.social
Inautilo · @inautilo
38 followers · 57 posts · Server mastodon.social

The State of CSS 2022 · Results of the annual developer survey about the latest trends in CSS ilo.im/zlc3j


#webdevelopment #trends #survey #frontend #framework #library #css #cssinjs

Last updated 2 years ago

Inautilo · @inautilo
88 followers · 181 posts · Server mastodon.social

The State of CSS 2022 · Results of the annual developer survey about the latest trends in CSS ilo.im/zlc3j


#webdevelopment #trends #survey #frontend #framework #library #css #cssinjs

Last updated 2 years ago

Rodion Borisov · @vint
4 followers · 94 posts · Server mastodon.social

Just made a conclusion that avoiding makes sense only for reset stylesheet, and even then you'd want to inject it via Import Assert syntax (es-module-shims ). Embrace single-file , !

#cssinjs #js #polyfill #webcomponents #kiss

Last updated 2 years ago

Rodion Borisov · @vint
1 followers · 61 posts · Server mastodon.social

After some more digging, I found dreaded polyfills to make and understand each other, also ditching out:
📜 github.com/calebdwilliams/cons
📜 github.com/guybedford/es-modul

#shadowdom #buildless #cssinjs

Last updated 2 years ago

Rodion Borisov · @vint
1 followers · 58 posts · Server mastodon.social

One does not simply do , while employing *AND* avoiding . :blobsweats: I start to sound like insane interop advocate here, can anyone relate? :BlobhajSadReach:

#buildless #webcomponents #shadowdom #cssinjs

Last updated 2 years ago

pablolarah · @pablolarah
24 followers · 124 posts · Server mastodon.social

🔺 CSS vs. CSS-in-JS: How and why to use each
by Rahul Chhodde at @LogRocket

blog.logrocket.com/css-vs-css-

#css #cssinjs #webdev

Last updated 2 years ago

Aaron In Iowa · @aeischeid
86 followers · 524 posts · Server mastodon.social

High refresh rate screens becoming more common have rates have interesting implications for . Whatever time window you used have to keep UI not feeling janky is shrinking quite significantly. The fundamental paradigm embedded in and are going to have serious challenges keeping up with this.

#webdev #react #cssinjs

Last updated 2 years ago

Oliver · @oliverturner
191 followers · 4082 posts · Server toot.cafe

RT @oleg008@twitter.com
Everything is a matter of perspective.

#cssinjs

Last updated 7 years ago