Skip to content
weftGitHub

Diagnostics

W061

bind:x on a native element, or bind:x/bind(box) with something that isn't a box or that isn't a component prop.

Fix: Write <Card bind:person={name} />. A form element takes value and onChange.

Status in weft@0.1.0: reported.

Triggers it:

tsx
import { bind, state } from '@weft-js/core'export function A() { const n = state(1); return <input value={bind(n)} /> }