Reactivity
Disco does not feature reactivity. You can use a state management library of you choice, as long as it does not use global state.
Example
Below follows an example with Solidart’s signals (Signal
and Computed
) and SignalBuilder
widget:
Every time the +1 button is clicked, the counter
is incremented by one, and the doubleCounter
by two.
More examples
Our repository also includes a full example with Bloc, one with ChangeNotifier and one with Solidart.