The rendering code here is already batched since everything happens within a single render() call. And unless you’re using react fiber, its rendering is also synchronous.
Handwritten JS could also batch DOM manipulation (without the need for virtual dom comparison).