Skip to content
kerfjsGitHub

Diagnostics

W012

derived(async …), or reads after await in resource (untracked).

Fix: Use resource; read before the await.

Status in kerf@0.1.0: reported.

Triggers it:

tsx
import { derived } from '@kerf-js/core'export function A() { const d = derived(async () => 1); return <p>{d.value}</p> }

More: kerf docs async.