DS
from: effect1.done,
to: effect2
})
Size: a a a
DS
YL
V
YL
DS
V
AO
AO
yv
A
checkActivatedControllerFx? Вот здесь:
forward({
from: checkExistControllerFx.done.map(({ id }) => id),
to: checkActivatedControllerFx,
});AO
AO
AO
checkActivatedControllerFx? Вот здесь:
forward({
from: checkExistControllerFx.done.map(({ id }) => id),
to: checkActivatedControllerFx,
});🚀🚀
checkActivatedControllerFx? Вот здесь:
forward({
from: checkExistControllerFx.done.map(({ id }) => id),
to: checkActivatedControllerFx,
});A
AO
AO
🚀🚀
A
import { createReEffect, TAKE_LAST } from 'effector-reeffect
// create ReEffect
const fetchUser = createReEffect({
handler: ({ id }) =>
fetch(`https://example.com/users/${id}`).then(res => res.json()),
})
// call it once
fetchUser({ id: 1 }, TAKE_LAST)A