News for hackers. Stuff that matters.
Re:My favourite 3 lines of CSS by ironmagma on Tuesday February 21, 2023 @08:58AM (#34881182)
Please do. I'd much rather see a system built in React with explicit logic, math, and names, than an implicit pile of obfuscated rules that are impossible to tweak without causing a cascading failure.
Re:My favourite 3 lines of CSS by xigoi on Tuesday February 21, 2023 @09:30AM (#34881563)
Maybe you wouldn't if you had to pay for all the electricity that's wasted by using React.
Re:My favourite 3 lines of CSS by ironmagma on Tuesday February 21, 2023 @09:57AM (#34881863)
Something tells me React uses less electricity than CSS `*` selectors.