3 ms·
I'm not an expert on either of those, but I don't think that your ERB version does the same thing. If delta is not set, the react version renders something lik
by justinsaccount 11y ago
I'm not an expert on either of those, but I don't think that your ERB version does the same thing. If delta is not set, the react version renders something like
<div class="card">
title
</div>
If it is set, it renders something like
<div class="card">
<strong class="text-success"> delta </strong>
title
</div>
Your version appears to render
<div class="card">
<strong class="text-success">
title
</strong>
</div>