4 ms·
Using inline style for everything like Radium does is going to be much more expensive than using stylesheets.
by esprehn 11y ago
Using inline style for everything like Radium does is going to be much more expensive than using stylesheets.
- iyn 11y agoThat was my initial though, in CSS you can reuse classes and other code, right? But in react components can also be reused and/or extended. I would say, that using CSS makes managing big project way more expensive than using React/something similar. It's not intuitive, but you don't have to believe me, Facebook and Instagram have pretty big codebases and react with inline styles is their solution - while it's not an argument per se, it's a hint that this approach may work.