News for hackers. Stuff that matters.
Re:Ask HN: How do you – Style Components built using React/V... by sunnykgupta on Wednesday May 31, 2017 @02:55AM (#14450809)
I agree with most comments which say that the modular approach is good for maintainability. But what about performance that takes a hit when the JS is creating and linking styles. Also, browser caching of styles is not possible in these cases.
Re:Ask HN: How do you – Style Components built using React/V... by krystiangw on Friday June 02, 2017 @05:04AM (#14468527)
I would not care too much about performance in the context of linking and evaulating css for modern browsers. It has small if any impact. If it is better for maintainability - than it is good way to go.