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

Update example of web component #57

Closed
wants to merge 1 commit into from
Closed

Conversation

gullerya
Copy link

The documentation along with the best practices says to move some of the constructing logic to the connectedCallback - this PR adjusts the example accordingly.

Summary

Supporting details

Related issues

Related content pull request

The documentation along with the best practices says to move some of the constructing logic to the `connectedCallback` - this PR adjusts the example accordingly.
@Yusufsuryanata1999 Yusufsuryanata1999 mentioned this pull request Jul 5, 2023
@bsmth
Copy link
Member

bsmth commented Aug 8, 2023

Closing this as a duplicate of #54

@bsmth bsmth closed this Aug 8, 2023
@bsmth bsmth reopened this Aug 8, 2023
@bsmth
Copy link
Member

bsmth commented Aug 8, 2023

Sorry I was too quick to close, there are some other changes to review here :)

@sideshowbarker
Copy link

This seems preferable to what #54 does — and probably should be merged instead (and #54 should be closed).

But @gullerya if we do this, the corresponding code in the https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_custom_elements article itself should also be updated. Would you be willing to open PR for doing that?

@wbamberg
Copy link
Contributor

wbamberg commented Oct 5, 2023

This is superseded by #62.

@bsmth
Copy link
Member

bsmth commented Nov 22, 2023

Looks like this is resolved in the linked PR, so I am closing now. Thank you :)

@bsmth bsmth closed this Nov 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants