|
|
|
|
|
by moonchrome
1739 days ago
|
|
Reading through the styling part and working with mui4 and other widget libraries in the past - and seeing the 5 solutions listed that basically do the same thing - holly shit how did it get to this point... I got the value of JSX even if it felt messy - but the css-in-js becoming popular on frontend is one of the why I switched to full backend roles now. And when he says that changing the implementation of a styling solution improves component performance 5x ... at what point is it OK for a fancy styling abstraction layer that serves no real purpose (it was just as shit to customise as any other solution, doubt it made people significantly more productive, and they said it was a maintenance burden to maintain abstraction layers) suck up that much performance ? Even the "fast" path is order of magnitude slower compared to good old CSS... |
|
Using "plain styles" in a component-oriented architecture relies on convention more than I'd like it to, but... the cost of the CSS-in-JS solutions I've seen just seems too high to be worth it. I don't know what the solution is.