While reviewing React state updates, a handler reads the old value after setting state. Which action fixes it, and which check proves it worked?
Answer options
- A. Derive work from the known next value
- B. Verify logic does not expect immediate mutation
- C. Remove the unnecessary local copy
- D. Update from the previous state value