1.0.0 • Published 4 years ago
css-in-js-poc v1.0.0
Proof of concept for css in js
Prerequisites
- install node: https://nodejs.org/en/download
Install
npm i -g yarn
git clone git@github.com:nialloc9/css-in-js-comparison.git
cd css-in-js-comparison
npm install
Run
npm run compile
npm run compare
Questions to answer?
Which library produces the smallest bundle?
Which has the fastest compile time?
Answers
- Styletron is fastest to compile with styled-components taking the longest.
- Emotion is biggest to compile with styled-components the smallest.
1.0.0
4 years ago