posth / react-youtube

YouTube Favorites listings player app [react-redux]
MIT License
0 stars 0 forks source link

quick and dirty poc for Styled Components #12

Closed Multimo closed 7 years ago

Multimo commented 7 years ago

Styled Components POC

the idea is to remove the weird mapping of css classes and jsx and just have your css in your components. Its a very clever implementation although, I do admit it might not be for everyone.

Here is a quick POC where i converted a few things over. We could literally move all the styles into these quite easily just wanted to give you an idea of how it works.

Their docs are pretty goood: https://www.styled-components.com/docs