Demystifying styled-components
Type Blog post
Created 2021-06-22
Available at joshwcomeau.com/react/demystifying-styled-components
Identifier unavailable
Description
For so many React devs, styled-components seems kinda magical. It isn't at all clear how it uses traditional CSS features under-the-hood, and that lack of clarity can cause real problems when things go awry. In this post, we'll learn exactly how styled-components works by building our own mini-version.
Relations
Utilizing tagged template literals (a recent addition to JavaScript) and the power of CSS, styled-com...
Edit details Edit relations Attach new author Attach new topic Attach new resource
10.0 /10
useless alright awesome
from 1 review
- Resource level 7.0 /10
- beginner intermediate advanced
- Resource clarity 10.0 /10
- hardly clear sometimes unclear perfectly clear
- Reviewer's background 3.0 /10
- none basics intermediate advanced expert
Comments 1
10 rating 7 level 10 clarity 3 user's background
Great peek under the hood