QuizNot attempted
Dispatching an unknown action
1–4 to choose, Enter to submit
Show answer & explanation
Correct answer:
- Throws an "Unknown action" error during render
'reset'matches nocase, so the reducer hitsdefaultand throws- React runs reducers during render, so the error surfaces as a render error (caught by an Error Boundary if one exists).
- Not 'renders 0 silently': the throw isn't swallowed.
- Not undefined: the reducer never returns.
- Not 'click ignored': dispatch always queues the action.