-
Notifications
You must be signed in to change notification settings - Fork 879
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
[reactive-element] Expand jsdoc documentation, and misc code sample syntax fixes. #2457
Conversation
Documentation added to `willUpdate` lifecycle callback. Code examples and doc additions to `firstUpdated` and `attributeChangedCallback`. Otherwise small fixes.
🦋 Changeset detectedLatest commit: d9158f1 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
📊 Tachometer Benchmark ResultsSummarynop-update
render
update
update-reflect
Resultslit-element-list
render
update
update-reflect
lit-html-kitchen-sink
render
update
nop-update
lit-html-repeat
render
update
lit-html-template-heavy
render
update
reactive-element-list
render
update
update-reflect
|
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.
Nice! Helpful comments and examples!
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.
LGTM. Some minor very optional suggestions. Please dismiss them if you don't feel they make sense in the context where this doc will appear.
packages/reactive-element/src/decorators/query-assigned-elements.ts
Outdated
Show resolved
Hide resolved
packages/reactive-element/src/decorators/query-assigned-nodes.ts
Outdated
Show resolved
Hide resolved
Co-authored-by: Arthur Evans <arthure@google.com>
Part of #1883 (comment)
This PR was originally to make some minor fixes to the reactive-element code samples, but I expanded it slightly to also include documentation for
willUpdate
,firstUpdated
, and theattributeChangedCallback
.The documentation updates are scoped to the reactive-element package.