DeepFrontend
Learning Paths
Practice
System Design & DS
Design Studio
Data Structures Curriculum
Real-World Case Studies
Careers
Job Board
Resume Builder
Blog
Sign in
Search
⌘K
Go Pro
Loading compiler resources...
Redux Ecosystem Quiz Practice
Active Recall Drill Session
← Exit Session
Question 1 of 1
hard
Redux Ecosystem
In the minimal createAsyncThunk implementation, why does the generated thunk function need to match the shape (dispatch, getState) => {...} rather than a plain action object?
A
It's an arbitrary convention
B
That's the exact function shape redux-thunk middleware recognizes and calls directly, instead of passing it through to the reducer
C
Reducers can accept function actions directly, no middleware needed
D
This shape is required by JavaScript syntax for async functions
Check Answer