0.18.3-0.18.4
- Add version variable to public exports
import {version} from 'effector'
console.log(version)
-
Add effect handler to domain 4c6ae8
-
Add Unit<T>
as common interface implemented by Event
, Effect
and Store
-
Add isStore
, isEvent
, isEffect
and isUnit
validators
import {createStore, createEvent, isStore, isEvent, isUnit} from 'effector'
const event = createEvent('some event')
const $store = createStore('value')
isStore($store) // => true
isEvent($store) // => false
isUnit($store) // => true
isStore(event) // => false
isEvent(event) // => true
isUnit(event) // => true
isStore(null) // => false
isEvent(null) // => false
isUnit(null) // => false
- Add extended
createStore
with config
import {createStore} from 'effector'
const $store = createStore('value', {
name: 'value store',
})
-
Publish babel-plugins
-
Improve naming for chrome performance timeline
-
Fix typescript typings #45
-
Fix event.prepend
bug #35