RunKit + npm: effector

node v11.15.0
endpointsharetweet
const { createStore, createEvent } = require("effector") const foo = createEvent('foo event') const store = createStore(0) .watch(foo, (storeValue, eventValue, eventName) => console.log(`store: ${storeValue}, event: ${eventValue}, name: ${eventName}`)) foo(1)
Created from: https://npm.runkit.com/effector
Loading…