How do reducers handle state changes and update the Redux store?
Reducers merge the previous state with the action payload to generate a new state.
Reducers directly mutate the previous state to incorporate the changes from the action.
Reducers update the store by creating a copy of the previous state and making modifications to the copy.
Reducers return a boolean value indicating success or failure of the state update.
Reducers handle state changes and update the Redux store by creating a copy of the previous state and making modifications to the copy. This ensures that the previous state remains immutable, preventing unwanted side effects. By returning a new state, reducers maintain the integrity of the Redux store and enable predictable state management.