render
It is used to render project components.
Usage
Function Signature
Parameters
App:An instance of ReactElement created throughcreateRoot.id:The id of the DOM root element to be mounted, such as "root".
It is used to render project components.
App:An instance of ReactElement created through createRoot.id:The id of the DOM root element to be mounted, such as "root".