Quantcast
Viewing all articles
Browse latest Browse all 4828

When do you use yield?

@rmmpaderes wrote:

I'm curious as to how other devs use {{yield}} in components. In my case, I rarely use it. I just usually pass what I would like to {{yield}} into an attribute. I only use {{yield}} when I want the component to act like a web component (which doesn't happen very much).

Any of you guys have like a rule/best practice on when to use {{yield}}?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles