И
Size: a a a
И
М
Ю
Д
Д
Ю
М
Д
И
const goodThunk = (arg) => dispatch => {
const foo = await dosomething(arg)
dispatch(fooAction(foo))
const bar = await doAnotherThing(foo)
dispatch(barAction(bar))
...
}И
Д
Н

🧙
Ю
const goodThunk = (arg) => dispatch => {
const foo = await dosomething(arg)
dispatch(fooAction(foo))
const bar = await doAnotherThing(foo)
dispatch(barAction(bar))
...
}И
O
Ю
const setAuthMethod = (meth) => {
dispatch(setUserAuth(meth))
dispatch(getUserAuth(session.email)))
};t