Why this fires¶
TE747 reports an incompatible markup spread. Dynamic native-element forwarding must use HtmlAttrs; component spreads must expose statically known record fields so ordinary prop checking remains active.
fn Button(attrs: HtmlAttrs) -> View {
<button {...attrs}>Save</button>
}Fix it¶
Type forwarded DOM attributes as HtmlAttrs, use a map/record literal for a component spread, or expand the component props explicitly.