When do you use yield?

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}}?

yield is simply a parameter to the components

{{#my-comp}} Dn is using this componenet{{/my-comp}}

or

{{#my-comp}}rmmpaderes{{/my-comp}}

in between opening and closing tags u can also place another component