Using ParSys vs Layout Container Responsive Grid as resourceType
Hello Everyone,
We have a simple 3-Columns Grid component where we are using "wcm/foundation/components/parsys", directly inside those columns for adding whatever component. Our concern is that, is it safe to use "parsys" as resourceType directly or should we use "wcm/foundation/components/responsivegrid" as resourceType always?
What are the disadvantage or what's going to impact in the future if using parsys directly here?
Note: We are using parsys directly here because, the component itself is creating the layout and if we use responsiveGrid as resourceType then it adds it's own wrapper div and set of CSS classes which is not needed in this case.
<div class="container">
<div class="row" id="${properties.id}">
<div class="col-xs-12 col-md-4">
<sly data-sly-resource="${'path1' @ resourceType='wcm/foundation/components/parsys'}"/>
</div>
<div class="col-xs-12 col-md-4">
<sly data-sly-resource="${'path2' @ resourceType='wcm/foundation/components/parsys'}"/>
</div>
<div class="col-xs-12 col-md-4">
<sly data-sly-resource="${'path3' @ resourceType='wcm/foundation/components/parsys'}"/>
</div>
</div>
</div>