Error codesComponents

Code maps or counts children

MARKLESS_CHILDREN_OPAQUEerrorMarkless raises it while it builds your .tsrx files.

The message

MARKLESS_CHILDREN_OPAQUE: children is an opaque template projection: place it with {children}, wrap it, or pass it through — mapping, counting, indexing, or mutating it is not supported.
The compiler owns children projection; there is no render-output array to inspect, so React-style children access would silently misbehave.
Render {children} directly or move per-item rendering to the parent.
https://markless.dev/errors/MARKLESS_CHILDREN_OPAQUE

Why

You can place {children}, wrap it, or pass it on. You cannot map, count, index, or change it.

Fix

Render {children} as it is. If you need markup per item, render the items in the parent.

Where Markless raises it

All error codes