While reviewing React hooks effects, a purchase request fires because state rendered. Which action fixes it, and which check proves it worked?
Answer options
- A. Send the request from the click handler
- B. Verify rendering alone sends nothing
- C. Extract the logic into a custom hook
- D. Include the room identifier dependency