effectus
v0.0.2
Published
micro reactive state management - just for fun
Downloads
2
Readme
effectus
micro reactive state management - just for fun
Install
$ yarn add effectus
Usage
import { effect, signal } from 'effectus'
const [name, setName] = signal('hector');
effect(() => {
console.log(name()) // zzarcon
}, [name]);
console.log(name()) // hector
setName('zzarcon')
console.log(name()) // zzarcon