React

Redux Quiz - pure function in redux

29.

Which of the following statements about reducers in Redux is true?

Reducers are not necessary in Redux.

Reducers can have side effects like API calls or database operations.

Reducers can modify the previous state directly without returning a new state.

Reducers are a pure function that takes the previous state and an action as parameters and returns the new state.