- install node: https://nodejs.org/en/download
npm i -g yarn
git clone git@github.com:nialloc9/emotion-vs-styled-components-vs-styletron-bundle-analysis.git
cd emotion-vs-styled-components-vs-styletron-bundle-analysis
npm install
npm run compile
npm run compare
-
Which library produces the smallest bundle?
-
Which has the fastest compile time?
- Styletron is fastest to compile with styled-components taking the longest.
- Emotion is biggest to compile with styled-components the smallest.