Skip to content
kerfjsGitHub

Diagnostics

W016

A non-reactive call passed as a component prop runs again whenever the prop is read.

Fix: Create the value once before JSX, unless the call must run again.

Status in kerf@0.1.0: reported.

Triggers it:

tsx
render(() => <App api={createFakeApi()} />, root)