This an example which shows how you can create a component with React, MobX and Fela.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples/usage
src
typings
.editorconfig
.gitattributes
.gitignore
LICENSE
README.md
package.json
tsconfig.json

README.md

counter-component

This component was created with React, MobX and Fela. It is just an example to show how these three frameworks can be used to create components with isolated styling and easy state handling.

To see the component in action you'll want to look into the included example.

The counter has a specific value which can be incremented and decremented. The increment and decrement buttons will be deactivated, if a certain threshold is reached (value = 0 or value = 10). The style will be updated accordingly.