Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Styling Systems in React
Search
Drew Powers
April 26, 2018
Programming
0
54
Styling Systems in React
Why Styled Components are great, and why just using them solves more problems than you’re aware of
Drew Powers
April 26, 2018
Tweet
Share
More Decks by Drew Powers
See All by Drew Powers
Styling in React
dangodev
0
33
Browser Rendering & Performance
dangodev
0
45
Virtual & Augmented Reality
dangodev
0
100
Design of the Web (2017)
dangodev
0
75
The Science of Font Selection
dangodev
2
480
Other Decks in Programming
See All in Programming
All(?) About Point Sets
hole
0
210
Reactive Thinking with Signals and the new Resource API
manfredsteyer
PRO
0
110
ソフトウェア設計の課題・原則・実践技法
masuda220
PRO
21
16k
Building AI Agents with TypeScript #TSKaigiHokuriku
izumin5210
5
990
Eloquentを使ってどこまでコードの治安を保てるのか?を新人が考察してみた
itokoh0405
0
3.2k
Vueで学ぶデータ構造入門 リンクリストとキューでリアクティビティを捉える / Vue Data Structures: Linked Lists and Queues for Reactivity
konkarin
1
340
connect-python: convenient protobuf RPC for Python
anuraaga
0
200
Level up your Gemini CLI - D&D Style!
palladius
1
110
「正規表現をつくる」をつくる / make "make regex"
makenowjust
1
730
チーム開発の “地ならし"
konifar
8
5.9k
Querying Design System デザインシステムの意思決定を支える構造検索
ikumatadokoro
1
1.2k
最新のDirectX12で使えるレイトレ周りの機能追加について
projectasura
0
300
Featured
See All Featured
Scaling GitHub
holman
464
140k
Into the Great Unknown - MozCon
thekraken
40
2.2k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
How to Think Like a Performance Engineer
csswizardry
28
2.3k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
Faster Mobile Websites
deanohume
310
31k
Six Lessons from altMBA
skipperchong
29
4.1k
Site-Speed That Sticks
csswizardry
13
970
Designing Experiences People Love
moore
142
24k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.8k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Transcript
STYLING SYSTEMS IN REACT
NEW CLASS, WHO DIS?
None
BEGUN, THE SPECIFICITY WAR HAS
None
WELCOME TO THE CASCADE ✨ ✨
REACT: CSS IN JS CHRISTOPHER “VJEUX” CHEDEAU (NOV 2014)
SMACSS BEM OOCSS
None
BUT WHAT ABOUT REACT?
TRADITIONAL CSS 1. CLASSNAME 2. SASS 3. STYLABLE.IO 4. CSS
BLOCKS CSS-IN-JS 1. STYLED COMPONENTS 2. EMOTION 3. APHRODITE 4. GLAMOROUS 5. STYLETRON 6. CSS MODULES? NEW!
WHY IS CSS-IN-JS GOOD? 1. NO SYNTAX TO MEMORIZE 2.
NAMING IS EASY 3. CSS MAPS 1:1 WITH MARKUP 4. TALKS TO (REACT) STATE 5. SUPPORTS ALL OF CSS (NOW) 6. TESTABLE (JSC, …)
END.