Skip to content

refactor: move customElements.whenDefined to willUpdate #167

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

Merged
merged 1 commit into from
Dec 10, 2022

Conversation

web-padawan
Copy link
Collaborator

Description

Refactored logic to fix the following error reported by the latest version of eslint-plugin-lit:

packages/api-demo/src/layout.ts
  78:7  error  Members of `this` should not be assigned to in the render method. It is likely you should do this elsewhere instead (e.g. in `updated`)  lit/no-this-assign-in-render

@netlify
Copy link

netlify bot commented Dec 10, 2022

Deploy Preview for api-viewer ready!

Name Link
🔨 Latest commit aba0093
🔍 Latest deploy log https://app.netlify.com/sites/api-viewer/deploys/6394e5b735567c0009df388b
😎 Deploy Preview https://deploy-preview-167--api-viewer.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@web-padawan web-padawan merged commit 70ee070 into master Dec 10, 2022
@web-padawan web-padawan deleted the refactor/when-defined branch December 10, 2022 20:04
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.

1 participant