T032warning

Static _memo attribute

_memo is written as a static attribute instead of the p-memo directive.

A static value never changes, so the memo check always matches and the element and its children stop updating after their first render.

Use the p-memo directive with the value that should trigger a re-render, such as p-memo="item".

$ piko explain T032

Build output ends each diagnostic with a link to this page, and editors using the Piko language server link the code under the squiggle. Look for CodeStaticMemoAttribute in Piko's source to see where it is reported.