You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduce EventCallable, StoreWritable and UnitTargetable types to allow users to express and understand what could be updated or called directly and what could not. Now createStore returns StoreWritable which can be passed to sample target and combine returns Store which will show type and runtime error (PR #966)
Improve error messages: now it includes unit names and locations so it will be useful to find errors in raw server logs or bundles with disabled source maps. To enable locations in errors use addLoc: true in babel-plugin. Usually the one wanted to enable this in development only so addLoc plugin option is disabled by default (PR #1015)
Deprecate undefined as magical value to skip store updates, use skipVoid: true option in combine and map to enable old behavior. Getting rid of that edge case will allow to introduce lazy computations (issue #920)
Deprecate forward and guard in favor of sample (PR #913)
Deprecate reactSsr option in babel-plugin (PR #910)
Deprecate onlyChanges option in serialize (PR #907)
Deprecate raw object {[fx.sid]: Function} in fork handlers (PR #973)
Deprecate .watch with second argument in favor of sample (PR #906)
Deprecate .getType() - relic from ancient times which exists for redux compatibility (PR #899)
Deprecate fork(domain) and hydrate(domain) - this api existed for traking units in scopes when Fork API was introduced, but starting from 22 version this is done automatically and domain is no longer required for that (PR #950)
Throw error when unit called from a pure function (PR #905)
Throw error when derived event is called (PR #905)
Throw error when fn in $store.map(fn) returns undefined in the initialization (issue #828)
Remove flow typings. In the beginning, the effector was written in flow, but now only types remained and they were extremely outdated due to lack of expertise in the technology. The flow community maintains bindings in a separate repository. (PR #912)