JSPM

  • Created
  • Published
  • Downloads 740474
  • Score
    100M100P100Q161182F
  • License MIT

high performance css-in-js

Package Exports

  • emotion
  • emotion/babel
  • emotion/lib/index
  • emotion/lib/sheet
  • emotion/lib/utils
  • emotion/react
  • emotion/server

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (emotion) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

emotion
emotion

The Next Generation of CSS-in-JS

npm version Build Status codecov gzip size size slack

emotion is a high performance, lightweight css-in-js library. The core idea comes from Sunil Pai’s glam library and its philosophy is laid out here. The basic idea is simple. You shouldn’t have to sacrifice runtime performance for good developer experience when writing CSS. emotion minimizes the runtime cost of css-in-js dramatically by parsing your styles with PostCSS during compilation instead of at runtime.

-- Introduction Article