effector 20.8.2
·
4661 commits
to master
since this release
- Improve
combinebatching in a few edge cases with nestedcombinecalls
import {createEvent, createStore, combine} from 'effector'
const event = createEvent()
const store = createStore(0).on(event, s => s + 1)
const combined = combine([store, combine([store.map(d => d + 1)])])
combined.watch(e => fn(e))
// => [0, [1]]
event()
// => [1, [2]]