Skip to content
weftGitHub

Diagnostics

W015

A box rendered without .value in JSX (a child, or a native attribute).

Fix: Add .value.

Status in weft@0.1.0: reported, safe autofix.

Triggers it:

tsx
import { state } from '@weft-js/core'export function A() { const n = state(0); return <p>{n}</p> }