Elektrine lite

← Feed

@t_var_s@phpc.social

Post #2246185

2026-05-08 09:31 UTC

@slightlyoff@toot.cafe @baldur@toot.cafe Still developers aren't completely wrong when thinking of components as bits of HTML + CSS + JS

Replies (1)

  • @splendorr@mastodon.social 2026-05-08 10:38

    @t_var_s@phpc.social @baldur@toot.cafe As far as project structure, sure! But each has very different /uses/ and are best-handled by the browser in their own context. Yes, any given element of a web app needs layout, styling, and logic. HTML, CSS, JS. But putting the layout AND styling INSIDE the logic language is self-evidently a huge, wasteful mess 🤷‍♀️ My job makes me work in other people’s messy React all day, but before that I spent years keeping those concerns separate. JSX and CSS-in-JS are *terrible ideas*!

    Open ##2246186