News for hackers. Stuff that matters.
Re:Performance-focused forks of styled-components by jeswin on Friday September 12, 2025 @03:35AM (#45219646)
It might seem like a terrible idea now. But when it was first introduced, a) people were still trying to get CSS and Components to work together, React having made components quite popular; and (b) React was actually usable, compared to the complete mess it's become now, especially after they introduced hooks.

I switched to web components for all my personal work.

Re:Performance-focused forks of styled-components by a_humean on Friday September 12, 2025 @03:55AM (#45219804)
But we already had things like tachyons css (tailwind precursor) and webpack css modules at the time that both offered static stylesheet solutions to that problem.
Re:Performance-focused forks of styled-components by jeswin on Friday September 12, 2025 @04:58AM (#45220146)
They weren't great either in hindsight.

But more importantly, we need to explore different paths to figure out what doesn't work. Things which seem like bad ideas in hindsight aren't bad experiments to run - otherwise we will all learn nothing.

Re:Performance-focused forks of styled-components by hu3 on Friday September 12, 2025 @09:18AM (#45221807)
I want to invest in web components because it seems to be the next step in downscaling complexity.

What's your experience with state management and data binding in Web components? Any suggestion?