@volynetstyle/reflex
v1.1.0
Published
Public Reflex facade with a connected runtime
Readme
@volynetstyle/reflex
Public reactive facade for Reflex.
This package gives you a small, ready-to-use API on top of:
@reflex/runtimefor runtime behavior@reflex/corefor low-level primitives
Install
npm install @volynetstyle/reflexUsage
import { signal, computed, effect, flush } from "@volynetstyle/reflex";
const count = signal(1);
const doubled = computed(() => count.read() * 2);
effect(() => {
console.log(doubled());
});
count.write(2);
flush();Exports
signalcomputedmemoeffectflushbatchWritecreateRuntimeruntime
License
MIT
