Open afercia opened 6 years ago
Noticed a couple props are actually rendered in the HTML as (invalid) attributes:
<div class="SnippetPreview__MobileContainer-jipmEz iYVbUi" width="640" ...
<div color="#545454" class="SnippetPreview__MobileDescription-iHXWQq ...
<div color="#545454" class="SnippetPreview__MobileDescriptionOverflowContainer-OwMUS ...
Note: the MobileDescriptionOverflowContainer is going to be removed in #542
MobileDescriptionOverflowContainer
Note 2: is there any way to automate checking for props that render invalid attributes? /Cc @atimmer @Xyfi
Re-tested: as far as I see, color is gone and width is still there.
color
width
Noticed a couple props are actually rendered in the HTML as (invalid) attributes:
<div class="SnippetPreview__MobileContainer-jipmEz iYVbUi" width="640" ...
<div color="#545454" class="SnippetPreview__MobileDescription-iHXWQq ...
<div color="#545454" class="SnippetPreview__MobileDescriptionOverflowContainer-OwMUS ...
Note: the
MobileDescriptionOverflowContainer
is going to be removed in #542Note 2: is there any way to automate checking for props that render invalid attributes? /Cc @atimmer @Xyfi