DS
А в доке по домену нет хуков на фэйл эффекта. Есть только на создание..
https://effector.dev/docs/api/effector/domain
root.onCreateEffect(effect => {
forward({
from: effect.fail,
to: globalErrorLoggerFx
})
})Size: a a a
DS
root.onCreateEffect(effect => {
forward({
from: effect.fail,
to: globalErrorLoggerFx
})
})И
guard({
source: fx,
fn: (is) => !is,
target: fx
})
Только скорее всего еще нужно будет прикрутить таймаут и конечноt количество ретраевИ
V
split?V
V
V
patronumc
КН
import { useStore } from 'effector-react/effector-react.cjs.js', что тоже не очень../.yarn/$$virtual/webpack-virtual-ff71ec9c48/0/cache/webpack-npm-5.5.0-0871a0155a-d37c35239c.zip/node_modules/webpack/hot/ sync nonrecursive ^\.\/log$ 170 bytes [built]
ERROR in ./.yarn/$$virtual/effector-react-virtual-c2432f3a62/0/cache/effector-react-npm-21.0.8-58b33a77de-7f8ae3b30f.zip/node_modules/effector-react/effector-react.mjs 1:76-84
Module not found: Error: Can't resolve 'react' in '/home/cat/tax/.yarn/$$virtual/effector-react-virtual-c2432f3a62/0/cache/effector-react-npm-21.0.8-58b33a77de-7f8ae3b30f.zip/node_modules/effector-react'
Did you mean 'index.js'?
BREAKING CHANGE: The request 'react' failed to resolve only because it was resolved as fully specified (probably because the origin is a '*.mjs' file or a '*.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.MK
MK

MK

🦜
MK
yv
DS
yv