Works With or Without HAX
RULES.md
Content made with the HAX editor must work when HAX is not present. A HAX-capable element knows about HAX only through `static get haxProperties()` (and `haxHooks()` when needed), never by importing or requiring the editor. An element may react to editing only to block clicks while editing (buttons, dialog openers, links), to expose editable content that is hard to reach visually, or to extend the HAX UI through hooks, and it must still render and work outside HAX. Only elements built for a HAX site may depend on one (an in-page menu, `smart-collection-list` reading `site.json`). Elements that rely on a third-party service must still work without HAX. Rationale: KNOWLEDGE.md entry "With or without HAX, work". In PRAW RULES.md (scope: webcomponents). Nothing enforces this yet.
A check that enforced this is gone from Quality control: q_without_hax.
Status: gap
Connects to
- Web Component Development includes this
- Serves Platform agnostic
- Serves Remixable
- Serves Sustainable
- Applies to Web components