BuckleScript bindings for react-fela
Clone or download
astrada Refactor interface
Remove references to Js.t
Latest commit edbfd95 Aug 14, 2018
Permalink
Failed to load latest commit information.
lib/js/src Refactor interface Aug 14, 2018
src Refactor interface Aug 14, 2018
.gitignore Refactor interface Aug 14, 2018
LICENSE Add LICENSE Nov 27, 2017
README.md Update dependencies Aug 12, 2018
bsconfig.json Update dependencies Aug 12, 2018
package.json Refactor interface Aug 14, 2018
yarn.lock Update dependencies Aug 12, 2018

README.md

bs-react-fela

Reason/BuckleScript bindings for react-fela. See also bs-react-fela-examples.

From Fela documentation:

Fela is a small, high-performant and framework-agnostic toolbelt to handle state-driven styling in JavaScript. It is dynamic by design and renders your styles depending on your application state.

It generates atomic CSS and supports all common CSS features such as media queries, pseudo classes, keyframes and font-faces. Fela ships with a powerful plugin API adding e.g. vendor prefixing or fallback value support.

Fela can be used with React or with any other view library. It even supports React Native.

Prerequisites

yarn install

How to compile

yarn build

How to use (in your projects)

Run:

yarn add --dev @astrada/bs-react-fela

to add the library to your project dependencies. And add @astrada/bs-react-fela to dependencies node of your bsconfig.json.