Ask HN: Inline Styles or CSS-In-JS with React I've been writing using React for a little over three years now and I'm currently using a combination of JSS (cssinjs) and inline styles. Recently my colleague has voiced a preference for using solely Inline Styles and it makes sense to follow a common pattern but I'm hesitant as I've found the lack of cascading and pseudo elements with inline styles to be difficult in the past. I also find using CSS classes produces cleaner render functions but I'm not sure that's a worthy argument either. Would love to hear what the general consensus is here |