Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/astrada/bs-react-fela
BuckleScript bindings for react-fela
https://github.com/astrada/bs-react-fela
bucklescript fela react reasonml
Last synced: 3 months ago
JSON representation
BuckleScript bindings for react-fela
- Host: GitHub
- URL: https://github.com/astrada/bs-react-fela
- Owner: astrada
- License: mit
- Archived: true
- Created: 2017-11-27T21:25:55.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-09-05T18:05:37.000Z (about 6 years ago)
- Last Synced: 2024-07-07T00:33:41.351Z (4 months ago)
- Topics: bucklescript, fela, react, reasonml
- Language: OCaml
- Size: 22.5 KB
- Stars: 21
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - bs-react-fela - fela | astrada | 21 | (OCaml)
README
bs-react-fela
=============Reason/BuckleScript bindings for
[react-fela](https://github.com/rofrischmann/fela/tree/master/packages/react-fela).
See also
[bs-react-fela-examples](https://github.com/astrada/bs-react-fela-examples).From Fela [documentation](http://fela.js.org/):
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](http://fela.js.org/packages/fela-plugin-prefixer) or [fallback
value](http://fela.js.org/packages/fela-plugin-fallback-value) support.Fela can be used with
[React](https://github.com/rofrischmann/fela/tree/master/packages/react-fela)
or with any other view library. It even supports [React
Native](http://fela.js.org/docs/guides/UsageWithReactNative.html).### 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`.