Skip to content
This page is available as Markdown at /api/plugins/functions/behaviorplugin.md. For the full documentation index, see /llms.txt, or the complete corpus at /llms-full.txt.

BehaviorPlugin

BehaviorPlugin(props): null

Defined in: plugin.behavior.tsx:15

Plugin component that registers a list of Behaviors with the editor.

Stabilize the behaviors array (a module-level constant or useMemo) to avoid a full unregister/re-register cycle on every parent render: a new array reference per render triggers the registration effect to re-run.

Behavior[]

null