function render(vnode, parent, callback) {
	// React destroys any existing DOM nodes, see #1727
	// ...but only on the first render, see #1828
	if (parent._children == null) {
		parent.textContent = '';
	}

	preactRender(vnode, parent);
	if (typeof callback == 'function') callback();

	return vnode ? vnode._component : null;
}
Proxy render() since React returns a Component reference.
@param {import('./internal').VNode} vnode VNode tree to render
@param {import('./internal').PreactElement} parent DOM node to render vnode tree into
@param {() => void} [callback] Optional callback that will be called after rendering
@returns {import('./internal').Component | null} The root component reference or null