render()
render
renders a piece of JSX into the ReactRendererUGUI
component. It instructs React to change the UI so that it matches the passed JSX.
render(<App />);
Rendering the root component
In apps fully built with React, you will do this once at the top level of your app—to render the “root” component.
import { render } from '@reactunity/renderer'; function Hello() { return <h1>Hello, world!</h1>; } render(<Hello />);