Новые ответы с меткой redux-thunk
0
голосов
Как типизировать thunk actions в typescript?
const addTodoAction: ActionCreator<
ThunkAction<Promise<Action>, ITodo, void, Action>
> = () => async (dispatch: ThunkDispatch<ITodo, null, AnyAction>):
Promise<Action&...
50 лучших ответов включены
Связанные метки
redux-thunk × 39reactjs × 35
redux × 34
javascript × 16
typescript × 3
react-native × 3
axios × 3
node.js × 1
rest × 1
юнит-тесты × 1
async-await × 1
асинхронность × 1
create-react-app × 1
testng × 1
nextjs × 1
action × 1
jest × 1
redux-saga × 1
redux-form × 1
enzyme × 1
redux-middleware × 1
store × 1