css-in-js-poc

1.0.0 • Public • Published

Proof of concept for css in js

css in js

Prerequisites

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

time to compile

  • Styletron is fastest to compile with styled-components taking the longest.

size

  • Emotion is biggest to compile with styled-components the smallest.

Readme

Keywords

none

Package Sidebar

Install

npm i css-in-js-poc

Weekly Downloads

1

Version

1.0.0

License

ISC

Unpacked Size

360 kB

Total Files

6

Last publish

Collaborators

  • nialloc9