React · Junior · Question 42 of 75
What is Redux?
- 1A library for REST API requests with response caching
- ✓Correct answer: A global state store: store, actions, reducers
- 3A React built-in hook for global app state
Explanation
In Redux, state lives in a single store, changes only by dispatching actions, and new state is computed by pure reducer functions. This gives predictability, convenient debugging (Redux DevTools, time travel) and middleware. Redux is a separate library, connected to React via react-redux.