>_
SWE Maxx
Questions
Quizzes
Daily challenge
System design
My attempts
Sign in
☀
☾
Light mode
Dark mode
Loading question…
Sign in
← Question bank
React · Multiple Choice
Difficulty: Medium
What pure function calculates the next state from the previous state and an action?
State organization
Reusable behavior
Choose your answer
A
useReducer
B
Derived state
C
Custom Hook
D
Reducer
Check answer
More in React →
What pure function calculates the next state from the previous state and an action? | SWE Maxx