import {ContextStateLive, StateLive} from "conan-js-core";
import {CounterActions, CounterData, counterState$} from "../../state/counter.statequot;;
<StateLive<CounterData, CounterActions>
renderer={(data, actions)=>(
<button onClick={actions.increment}>Increment!</button>
<button onClick={actions.decrement}>Decrement!</button>
<ContextStateLive <CounterData>