Skip to content
These are temporary community docs. The official docs are in progress.Help improve them
Markless
Esc
↑↓navigate↵open⌘Jpreview
On this page

MARKLESS_CAPTURE_OPAQUE_PROP

Lazy handler prop capture is not resumable: a Markless compiler error.

Error from the compiler, while it builds your .tsrx files.

What happened

Markless prints the message, the reason, and a suggestion:

MARKLESS_CAPTURE_OPAQUE_PROP: Cannot bind lazy symbol "<symbolId>" on component edge "<componentEdgeId>" because prop "<propName>" is not passed by the parent that renders "<componentName>", and this call site invokes it unconditionally.
An absent prop has no value to route at this component edge. An optional or guarded call folds to undefined; an unconditional call would throw after resume, so it stays a build error.
Call it optionally as <propName>?.(…), guard it with if (<propName>), or pass <propName> where "<componentName>" is rendered.
https://markless.dev/errors/MARKLESS_CAPTURE_OPAQUE_PROP

Words in angle brackets change from case to case.

How to fix it

Start with the suggestion in the message above.

This page has no guide yet. Help write it.

Where it comes from

@markless/compiler raises this code. Source:

Read how to read a Markless error, or go back to all error codes.

Was this page helpful?