You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can this be extended to yield with a component?
Could look like this
{{yield to="header" with=(component "header")}}
Then
<:header @title=abc \>
I know this wasn't part of the proposal, but i think its a good Idea.
Another idea is also to put the yield inside a html tag like a modifier and yield that whole block as inline component. That would require again another yield somewhere and also need to handle the this context correctly.
Could already be done with preprocessing and creating template only components ( and convert this to @this ) on thr fly
The text was updated successfully, but these errors were encountered:
Can this be extended to yield with a component?
Could look like this
Then
I know this wasn't part of the proposal, but i think its a good Idea.
Another idea is also to put the yield inside a html tag like a modifier and yield that whole block as inline component. That would require again another yield somewhere and also need to handle the
this
context correctly.Could already be done with preprocessing and creating template only components ( and convert this to @this ) on thr fly
The text was updated successfully, but these errors were encountered: