Skip to content
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

fix(framework): managedSlots: true always has effect #1952

Merged
merged 1 commit into from
Jul 15, 2020

Conversation

vladitasev
Copy link
Contributor

When managedSlots: true is set, the expectation is that you'll have properties for all children, no matter if you have a template or not.

Until now, only components that render in the Shadow DOM (have a template) had their children processed and observed. However, it is possible to have abstract items that don't render in the Shadow DOM, but still need to have properties for their children. This becomes possible by moving the code related to managed slots out of the condition that checks for Shadow DOM usage.

Additionally, the await before renderImmediately was removed since it's no longer an async function.

@vladitasev vladitasev merged commit 4a1be70 into master Jul 15, 2020
@vladitasev vladitasev deleted the process-children branch July 15, 2020 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants