In-container Rendering
Use ctx.render() to render content into the current container (ctx.element). It supports the following three forms:
ctx.render()
Rendering JSX
Rendering DOM Nodes
Rendering HTML Strings
JSX Description
RunJS can render JSX directly. You can use the built-in React/component libraries or load external dependencies on demand.
Using Built-in React and Component Libraries
Using External React and Component Libraries
Load specific versions on demand via ctx.importAsync():
Suitable for scenarios requiring specific versions or third-party components.
ctx.element
Not recommended (deprecated):
Recommended way:

