News for hackers. Stuff that matters.
Re:Real-world CSS vs. CSS-in-JS performance comparison by mikewhy on Tuesday June 08, 2021 @04:16PM (#27440193)
React doesn't have a CSS prop.
Re:Real-world CSS vs. CSS-in-JS performance comparison by frank_nitti on Tuesday June 08, 2021 @04:33PM (#27440387)
Must be referring to the style prop for jsx elements whose argument conforms to the React.CSSProperties interface
Re:Real-world CSS vs. CSS-in-JS performance comparison by mikewhy on Tuesday June 08, 2021 @05:02PM (#27440748)
Hard to say, for instance the very popular styled-components package does add a `css` prop magically to all elements.
Re:Real-world CSS vs. CSS-in-JS performance comparison by girvo on Tuesday June 08, 2021 @10:50PM (#27443696)
I think they've assumed `styled-components` is default?