-
Notifications
You must be signed in to change notification settings - Fork 14
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
refactor: implement and use hostAttributes decorator #2452
Conversation
c755c10
to
3f1c131
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice solution :)
I'd suggest to check every component (the ones which did not use createrenderroot so far) as the migration effort is minimal. |
3f1c131
to
75d7e4d
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #2452 +/- ##
=======================================
Coverage ? 93.62%
=======================================
Files ? 272
Lines ? 23698
Branches ? 2040
=======================================
Hits ? 22188
Misses ? 1477
Partials ? 33 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay!
This replaces the usage of
createRenderRoot
for setting host attributes and instead uses the initializer functionality from lit to set static attributes.