-
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
Use native connectedCallback
/disconnectedCallback
lifecycle hooks
#3198
Labels
Comments
This issue has been linked to a new work item: W-12114614 |
This was referenced Feb 17, 2023
Reopening as native custom element lifecycle had to be reverted in the Salesforce Lightning Platform due to breaking changes, although it is still rolled out for pure OSS consumers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We use non-standard mechanisms to trigger
connectedCallback
/disconnectedCallback
. We should just use the native mechanism instead.lwc/packages/@lwc/engine-dom/src/apis/create-element.ts
Lines 50 to 72 in 551f634
This has implications for backwards compat, because the timing and other subtleties will be different.
Related: #2609, #1102, #2709
Also related: #2986 which added a flag, without making the flag true by default.
The text was updated successfully, but these errors were encountered: