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

[doc] Add example of component composition / data passing best practices #1221

Open
augustjk opened this issue Oct 11, 2023 · 1 comment
Open

Comments

@augustjk
Copy link
Member

Suggested by a new user on discord.
We have https://lit.dev/docs/composition/component-composition/#passing-data-up-and-down-the-tree but it doesn't have any code examples.
We also have https://lit.dev/playground/#sample=examples/element-composition but doesn't have any data passing.

It would be good to add a playground example with data passing and link it from the doc above.

@augustjk
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Triaged
Development

No branches or pull requests

1 participant