/counter-component-with-react-mobx-fela

This an example which shows how you can create a component with React, MobX and Fela.

Primary LanguageTypeScriptApache License 2.0Apache-2.0

DEPRECATED This project is unmantained, deprecated and goes into archive with followup removal in 2 years.

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.