The snippet preview container has a width prop that gets rendered as a HTML attribute, producing invalid HTML Error: Attribute width not allowed on element div at this point.
This prop gets then passed down to the desktop and mobile inner components. While it's a very minor thing, it would be great to not use prop names that match HTML attributes. Renaming it to something else would be enough to fix it.
The snippet preview container has a
width
prop that gets rendered as a HTML attribute, producing invalid HTMLError: Attribute width not allowed on element div at this point.
https://github.com/Yoast/yoast-components/blob/9019e643a7b642a0ac5c4f32e5595e7ee2800612/composites/Plugin/SnippetPreview/components/SnippetPreview.js#L642-L646
This prop gets then passed down to the desktop and mobile inner components. While it's a very minor thing, it would be great to not use prop names that match HTML attributes. Renaming it to something else would be enough to fix it.