creating a custom component - DevNatan/inventory-framework GitHub Wiki

TBD

Watching Internal State Value Change

Builder API

.updateOnStateChange(state)

Components API

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));
⚠️ **GitHub.com Fallback** ⚠️