react / Root
The default root exported by @lynx-js/react
for you to render a JSX
Register DataProcessors. You MUST call this before root.render()
.
Parameter | Type |
---|---|
dataProcessorDefinition |
DataProcessorDefinition |
void
use lynx.registerDataProcessors instead
@lynx-js/react/runtime/lib/lynx-api.d.ts:59
Use this API to pass in your JSX to render
Parameter | Type |
---|---|
jsx |
ReactNode |
void
@lynx-js/react/runtime/lib/lynx-api.d.ts:53