Reason/BuckleScript bindings for styletron-react. See also bs-styletron-react-examples.
From Styletron documentation:
Styletron is a universal CSS-in-JS engine built from the ground up for high-performance. Features include:
Dynamic generation of inlineable critical stylesheets with minimum possible size and parse times
CSSStyleSheet
rule injection ensuring only new styles get parsedyarn install
yarn build
Run:
yarn add --dev @astrada/bs-styletron-react
to add the library to your project dependencies. And add
@astrada/bs-styletron-react
to dependencies
node of your bsconfig.json
.