Can this be extended to yield with a component?
Could look like this
{{yield to="header" with=(component "header")}}
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
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
thiscontext correctly.Could already be done with preprocessing and creating template only components ( and convert this to @this ) on thr fly