Skip to content

test(ui): deepen attribute parity (normalization, omission, styles)#43

Merged
monstercameron merged 1 commit into
masterfrom
react-parity/deepen-attributes
Jun 25, 2026
Merged

test(ui): deepen attribute parity (normalization, omission, styles)#43
monstercameron merged 1 commit into
masterfrom
react-parity/deepen-attributes

Conversation

@monstercameron

Copy link
Copy Markdown
Owner

Toward React-suite equivalency: className/htmlFor normalization, internal-prop omission, deterministic style maps, numeric/boolean values. All pass; no version bump.

🤖 Generated with Claude Code

Toward React-suite equivalency for ReactDOMServerIntegrationAttributes:
- className->class and htmlFor->for name normalization
- internal/framework props never emitted as attributes (key, children, event
  handlers — React's ref/children/dangerouslySetInnerHTML/suppress*Warning analog)
- style maps serialize to a deterministic sorted k:v;k:v string
- numeric (incl. zero) stringify; boolean true is a bare attr, false is omitted

(React's array/object/symbol prop-coercion cases are N/A under Go static typing.)
All pass; no version bump.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@monstercameron monstercameron merged commit dc8690c into master Jun 25, 2026
2 checks passed
@monstercameron monstercameron deleted the react-parity/deepen-attributes branch June 25, 2026 04:01
monstercameron pushed a commit that referenced this pull request Jul 6, 2026
The class registry only grows; nothing enforced routing runtime values through
Dynamic, so building classes from live values minted a new class per value and
grew the registry/<style> without bound. registerAndEmit now emits one
GWC-CSS-CLASS-CHURN diagnostic past a high threshold pointing at
DynamicLength/DynamicVar (warn, not evict). Reset re-arms. Pinned; green
native + wasm.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants