Avoid rendering an HTML element via server-side condition data

<%if (serverdata) { %>
<p>Do not render this paragraph</p>
<% }

The condition(as a good condition) won’t evaluate always to the same value.

Imagine I have a set of cards rendered via an AC repeating row component.

Each card will have different html depending on server data. I don’t want to show/hide in the DOM. I want to avoid altogether that it is inserted in the DOM.

Any hints @patrick?

Community Page
Last updated: