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
StoreWritable.on() reports undefined returned from the reducer. This doesn't look as intended behavior neither from v23 release notes, nor from documentation.
store: undefined is used to skip updates. To allow undefined as a value provide explicit { skipVoid: false } option
$user.on(handlePushTokenChangeFx.doneData,(user,result)=>{if(user&&result?.pushToken){return{
...user,pushToken: result.pushToken,};}// just return the same objectreturnuser});
What is the current behavior:
StoreWritable.on()
reportsundefined
returned from the reducer. This doesn't look as intended behavior neither from v23 release notes, nor from documentation.https://share.effector.dev/007a4LsA
Docs:
Release notes:
What is the expected behavior:
Using
undefined
return value fromon()
reducer looks still fine from docs and release notes, so:undefined
status forStore
Which versions
The text was updated successfully, but these errors were encountered: