Skip to content

P1: Split oversized OpenElement class #303

Description

@SisyphusZheng

What to build

packages/element/src/open-element.ts is 681 lines and handles styles, themes, DSD/CSR, lifecycle, signals, params, forms, and i18n. Split into focused helpers or mixins.

Acceptance criteria

  • open-element.ts is under 400 lines.
  • New helpers (e.g., ThemeManager, HydrationScope) are unit-testable.
  • All element tests pass.

Blocked by

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions