T102error

Circular dependency

Components, partials or imports depend on each other in a cycle.

A component that renders a partial which, directly or through others, renders the first component again can never finish expanding. The message lists the cycle.

Break the cycle, for example by moving shared markup into a partial that neither side imports back.

$ piko explain T102

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 CodeCircularDependency in Piko's source to see where it is reported.