Changelog
0.11.0
.use
effectImplementationCheck
to unused
Changelog
0.10.0
rootDomain
alias for createRootDomain
typeConstant
eventsDomainAuto
, EventAuto
and EffectAuto
mill
fluent "AND" reducer combinatorimport {mill, type MillType, type Reducer} from 'effector'
type A = 'foo'
type B = 'bar'
declare var reducerA: Reducer<A>
declare var reducerB: Reducer<B>
const tuple: MillType<A, B> = mill().and(reducerA).and(reducerB)
const union: Reducer<{
a: A,
b: B,
staticField: string,
}> = tuple.joint((a: A, b: B) => ({
a,
b,
staticField: 'its ok',
}))
Changelog
0.9.1
import {createHaltAction} from 'effector'
store.dispatch(createHaltAction()) //This store will be unsubscribed