next
Round
Technologies
Experiences
Contribute
Login
next
Round
Technologies
Experiences
Contribute
Login
Question Loading...
Thunk
1. 1. What is a thunk in Redux?
Level: Expert | Frequency: High
2. 2. What is the difference between redux-thunk and createAsyncThunk?
Level: Expert | Frequency: High
3. 3. How does createAsyncThunk simplify async actions?
Level: Expert | Frequency: High
4. 4. What are the lifecycle actions automatically created by createAsyncThunk?
Level: Expert | Frequency: High
5. 5. How do you handle pending, fulfilled, and rejected states in slices?
Level: Expert | Frequency: High
6. 6. What are the advantages of using createAsyncThunk over manual thunks?
Level: Expert | Frequency: High
7. 7. How do you pass parameters to a thunk function?
Level: Expert | Frequency: High
8. 8. How do you handle API errors inside a thunk?
Level: Expert | Frequency: High
9. 9. How can you cancel a running thunk or API call?
Level: Expert | Frequency: High
10. 10. How can you chain multiple async thunks?
Level: Expert | Frequency: High
11. 11. How can you use getState and dispatch inside a thunk?
Level: Expert | Frequency: High
12. 12. How do you use thunks in combination with RTK Query?
Level: Expert | Frequency: High
13. 13. How do you test thunks and async actions?
Level: Expert | Frequency: High
14. 14. What are best practices for organizing async logic with thunks?
Level: Expert | Frequency: High
15. 15. How do you dispatch a thunk from a React component using hooks?
Level: Expert | Frequency: High
16. 16. How do you manage loading indicators with thunks?
Level: Expert | Frequency: High
17. 17. What’s the performance implication of using too many thunks?
Level: Expert | Frequency: High
18. 18. How can you refactor thunk-based APIs to RTK Query-based APIs?
Level: Expert | Frequency: High
All Topics
Basics
Slice
Actions
Reducers
RTK Query
Store
Thunk
Scenario Based