It is used to create the root component provided by Modern.js, which will automatically register Runtime plugins and complete the initialization of Runtime plugins.
import { createRoot } from '@modern-js/runtime/react';export function createRoot(UserApp?: React.ComponentType | null): React.ComponentType<any>;UserApp: an optional parameter, and the default is the component exported from App.tsx.