Why this fires¶
TE746 reports a ref target that cannot receive a browser element. A ref must be an optional DOM handle stored in an @island source cell.
@island
fn Search() -> View {
var<signal> field: DomRef = nil
<input ref={field} aria-label="Search" />
}Fix it¶
Declare or retype the target as var<signal> name: DomRef = nil inside the owning island. SSR keeps it nil; attach fills it and detach clears it again.