Skip to content
kerfjsGitHub

Diagnostics

W043

data-x={true} or data-x={false} on a native element: data-* booleans are presence flags, so these write data-x="" or nothing, not React's "true" and "false".

Fix: data-x for a flag (kerf fix), or data-x="true" for the word. CSS matches [data-x].

Status in kerf@0.1.0: reported by kerf check.