(Choose 1 answer)
Which of the following statements about reducers in Redux is true?
A. Reducers are responsible for dispatching actions.
B. Reducers must be pure functions with no side effects.
C. Reducers can only be used with React class components, not functional components.
D. Reducers should have side effects such as API calls or database interactions.