{"version":"2.1.242","anchor":"plugin-render-hooks-may-only-produce-five-element-types","canonical_anchor":"plugin-render-hooks-may-only-produce-five-element-types","heading":"Plugin render hooks may only produce five element types","tier":"notice","area":"Plugins","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242\/e\/plugin-render-hooks-may-only-produce-five-element-types","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.242","markdown":"### Plugin render hooks may only produce five element types\n\nPlugin UI hooks can only draw five element types; anything else is reported as a hook error.\n\n**What**\n\nA plugin hook that draws UI can build elements only from Box, Text, div, span and b, plus lowercase `box` and `text` aliases. Anything else throws inside the plugin's sandbox, so Claude Code reports it as a hook error rather than trying to render it.\n\n**Details**\n\n- Keys, refs and props whose value is null are stripped from the element before it is frozen.\n- This applies to every render hook on this build; there is no setting to widen the tag set.\n\n**Evidence**\n\n`a render hook draws those and what next(e) returned`\n\n- Area: Plugins\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 3\/5"}