Skip to content

A-gambit/CSS-IN-JS-Benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5b116ae · May 20, 2019
May 19, 2019
Apr 29, 2017
May 19, 2019
May 12, 2017
Feb 12, 2018
Mar 12, 2018
Apr 23, 2017
May 19, 2019
May 19, 2019
May 19, 2019
May 19, 2019

Repository files navigation

CSS in JS Benchmarks

Big Table

gif

Big Table examples, use:

  • react + css
  • aphrodite
  • glamorous
  • glam
  • fela
  • react-jss
  • radium
  • react-native-web
  • rockey
  • styled-components
  • styled-jsx
  • styletron
  • etc

Average results are here.

New demos and benchmarks will be soon :)

Contribution

Here is a little contributing guild:

  • Use node version ^7.9 (i.e. use 7.9 or newer, but not as new as 8)
  • Install lerna and yarn (optional)
  • lerna bootstrap or lerna bootstrap --npm-client=yarn - install deps in packages
  • npm i
  • lerna run build - make builds for all packages
  1. Create an appropriate folder for your CSS in JS new implementation. Use react as example of boilerplate.
  2. Add description for your CSS in JS in package.json. Example
  3. Add your solution for Table.js file.
  4. Run benchmarks: npm run benchmark. To tun tests for specific packageor - npm run benchmark -- rockey styled-jss radium

Add your favorite CSS in JS implementation! Your contributions and suggestions are heartily welcome. =^.^=