React DOM integration

React DOM custom elements

React 19 can set a property on a registered custom element when the property exists.

Formal Syntax & Structure

react syntaxreact
<museum-room-badge room={{name: "Print"}} />

Working Example

Example Snippetreact
<museum-room-badge room={{name: "Print"}} />
React Reference