Hacker News Books

40,000 HackerNews book recommendations identified using NLP and deep learning

Scroll down for comments...

Prev Page 3/5 Next
Sorted by relevance

neoziroonMay 28, 2018

Styled Components is a CSS in JS library. It generates classes from your CSS and inject them into components. This is much more complicated than adding a `<style />` tag in your component!

madeofpalkonMay 28, 2018

If you can't understand what it's doing from the source code, maybe read the documentation?

I'm not a huge fan of Styled Components, but it's a way to write properly encapsulated styles for just that moment - You write 'regular CSS' that's scoped to exactly that component, so it can't leak out and affect other parts of your site.

Built withby tracyhenry

.

Follow me on