Skip to content

docs(react-pages): html tier requires kebab-case registered names (<list-view>) — PascalCase table reads as if it applies to both tiers #12650

Description

@yinlianghui

Docs-clarity finding from promo-video production recon (internal ref: steedos-labs/video-studio#61). Not claiming; filing for triage.

Observed (17.1.0, hotcrm dev)

In a kind: 'html' page, <list-view> works but <ListView> fails to compile with is not an allowed component. The PascalCase component table in content/docs/ui/react-pages.mdx is the react-tier convention; the html-tier section never states that html pages must use the kebab-case registered type names instead.

Why it matters

An author (human or AI) reading the docs' component table and then writing an html-tier page will naturally copy the PascalCase names and hit a compile error with no pointer to the naming rule. Since the html tier is explicitly positioned for AI-drafted pages, the docs are effectively the AI's prompt — one sentence in the html section ("use registered kebab-case names, e.g. <list-view>; PascalCase applies to react pages") would remove the trap.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions