Why is useEffect the correct place to call DOM methods like video.play()?
Effects run after React updates the DOM, so the element exists safely
DOM methods are automatically batched inside Effects
React blocks all DOM access inside event handlers
Effects run before rendering starts