statebuilder@0.5.0
riccardoperra
released this
22 Oct 18:11
·
4 commits
to main
since this release
Minor Changes
-
8d627ba: feat: allow to inject states inside builders
Since this version, you can inject other states into plugins (
.extend
).const AppState = defineSignal(() => ({})); const CounterState = defineSignal(() => 1).extend((_, context) => { const appState = context.inject(AppState); });