What is CSS in JS ?
November 23, 2019
Write your own Javascript functions in CSS directly & build your own styled-components library.
What if we took the best of JavaScript and the best of CSS, and combined them together to create the ultimate solution? In this session, Max Stoiber explains how Glen Maddern (CSS Modules co-creator) and himself sat down and started thinking about styling in this new paradigm. He talks about what they thought about and why they arrived where they did –to styled-components.
What are styled components and what is CSS in JS? The modern React world is moving quickly to adopt the CSS in JS philosophy and Styled Components is one of the libraries leading the charge.
Make CSS into Components in React