Variable: ReactPlan
const
ReactPlan:LexicalPlan
<ReactConfig
,"@etrepum/lexical-builder/React"
,ReactOutputs
,unknown
>
A plan to use or configure React for use with Lexical. In an editor, you would typically use LexicalPlanComposer (for React projects) or ReactPluginHostPlan (to use React Plans and plug-ins in a non-React project).
See ReactConfig for more detailed explanations of how to use the config for this Plan.
For a Plan developer, you can defineConfig() override the plan with decorators to add JSX inside the editor context that is not location-dependent (e.g. floating UI that does not need to be mounted in some specific location, or effects that return null).