python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Redux Thunk TS return type definition
I'm trying to define the returned type of my Redux Thunk function.
Basically I'm dispatching an action that will eventually return a string.
So I wrote:
export type AppThunk = ThunkAction<Promise&l...
Holis
Votes: 0
Answers: 1
how to use redux thunk to fetch data
guys hope you all are doing great, Well I am using redux and I am not getting my result,
I would like to describe my issue step by step I hope it will bater for understanding
(1) POSTMAN RESULT
(i) ge...
Zaryab Khan
Votes: 0
Answers: 1
How i can use thunk inside another thunk in Redux?
I created thunk by redux toolkit "createAsyncThunk" and i do some async operations here
export let Login: any = createAsyncThunk("authPage/Login",
async ({values, action}: any,...

Yefimchuk
Votes: 0
Answers: 1
useEffect/useCallback missing dependency warnings, but redux state does not let me fix it
I'm trying to clean up my warnings, but im facing those dependency warnings.
This is an example, but a lot of useEffect() is facing a similar problem.
Im trying to laod my page calling my fetch api in...
RenanY.
Votes: 0
Answers: 1