While reviewing React jsx components, rendering increments a shared counter. Which action fixes it, and which check proves it worked?
Answer options
- A. Use a capitalized component reference
- B. Move the mutation outside rendering
- C. Verify repeated renders have no side effects
- D. Wrap the cells in a Fragment