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 installyarn buildRun:
yarn add --dev @astrada/bs-styletron-reactto add the library to your project dependencies. And add
@astrada/bs-styletron-react to dependencies node of your bsconfig.json.