-
Notifications
You must be signed in to change notification settings - Fork 396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Render nested component #3262
Comments
What is the expected result here? Is that what you want: Playground |
@ceremcem Yeah exactly, but i wonder if its possible without using global components registry. |
You mean "fallback mechanism" that a component will search for requested components in the current registry and then will start searching from one level up till global registry ( I'm not sure if that would be a desired behavior or it is suitable from the point of view of performance, but I find no objection right now. I'm sure @evs-chris would shed the light on the case. |
The simplest answer would be to just use |
@fskreuz that works just fine, but in that case InnerComponent has to be registered in app as well. Thats the way I use it in my project atm. |
Hi, I know I'm late but I thought I'd add my two cents. Basically, the example does not work because
That's it. |
Hi,
I have this code example:
I know that this code won't render MyComponentA neither MyComponentB as
{{yield}}
keyword actually sets the context to OuterComponent which doesn't know how to resolve them.Is there a way to move
{{yield}}
context multiple levels up or am I just doing the whole thing terribly wrong?Thanks!
The text was updated successfully, but these errors were encountered: