If we need to pass any data params on component then it will not passed to parsed HTML, for example I want to add background on Block component with lazy load then I have to compulsory used div with class block instead of Block component.
If we pass data element on Block component and it will parsed over html then lazy load will work without used of div.
For example: In svelte code it will not work( caused of our data params data-background would not parse when svelte to HTML parsing done)
<Block class="lazy" data-background="<image path>">
</Block>
In core code:(working)
<div class="block lazy" data-background="<image path>" >
</div>