Problem Statement
What does Immer allow you to do in RTK reducers?
Explanation
RTK uses Immer library internally which allows you to write code that appears to mutate state directly, but Immer converts it to immutable updates behind the scenes using structural sharing. This makes reducer code much simpler and more readable while maintaining immutability, as you can write state.value = newValue instead of return spread object syntax. Immer creates a draft state that tracks changes and produces an immutable result.
