Question · Angular course · Module 10: State Management
The role of the Reducer
What does a Reducer do in NgRx when it receives an action?
Answer options
- Performs HTTP requests to the API
- Returns a new, immutable state based on the action
- Renders a component on the screen
- Subscribes to router changes
You can check the correct answer by solving this task in the CodeWorlds game.