Re:jQuery v4.0 Beta
by tipiirai on Tuesday February 06, 2024 @10:49PM
(#39284268)
You sure can, but it then comes to the separation of concerns. CSS-in-JS (coupling of concerns) is the preferred option.
[ Parent
| on HN ]
Re:jQuery v4.0 Beta
by teaearlgraycold on Tuesday February 06, 2024 @11:34PM
(#39284533)
Having CSS in a separate file feels like defining the predicates for your if statements in a separate file. With tailwind we're getting pretty close to a great solution here.