[inline] Styling in React – #ReactEurope

The next 10-12 minutes will be about how and why to apply inline styles in React. I will share my ups and downs, and what I learned – like sometimes it really is necessary to put the styles inline.
I am dedicating part of the talk for the style attribute: what is is and how is/should it be used – focusing on the fact that it accepts a JavaScript object rather then a a CSS string; prefixes for different browsers are also included here.

The last past of the talk is about a more modern approach: styled components. I am sharing this part as a JS alternative to inline styling.