legacy-paperclip icon indicating copy to clipboard operation
legacy-paperclip copied to clipboard

Error when reference is passed to component without $

Open crcn opened this issue 3 years ago • 1 comments

This should error:

<div export component as="Component" {class?}>
</div>

<!-- This should show a warning -->
<Component class="test">
</Component>

crcn avatar Jan 12 '22 02:01 crcn

This requires #845 in order to work because of this scenario:

<div component as="Component" class={customClassName?}>
</div>

<!-- this needs to error -->
<Component customClassName="boom" />

crcn avatar Jan 12 '22 14:01 crcn