creating a custom component - DevNatan/inventory-framework GitHub Wiki
TBD
.updateOnStateChange(state)
There's a helper function in Components API called watchingStateUpdate
that makes your component automatically update on every state value change.
private final MutableIntState someState = watchingStateUpdate(mutableState(1));