We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Because of the way custom elements work, if you have the traditional hello world component...
<h1>Hello {{name}}!</h1> <script> export default { tag: 'my-app' }; </script>
...and create it like so...
document.body.innerHTML = `<my-app name='world'/>`;
...then at the time of creation, the name property is unpopulated (the callback fires immediately after construction).
name
In dev mode, this means you get incorrect warnings about missing properties.
The text was updated successfully, but these errors were encountered:
prevent erroneous missing data warnings for custom elements - fixes #…
9dda4b0
…1065
Merge pull request #1154 from sveltejs/gh-1065
25b1f05
prevent erroneous missing data warnings for custom elements
Successfully merging a pull request may close this issue.
Because of the way custom elements work, if you have the traditional hello world component...
...and create it like so...
...then at the time of creation, the
name
property is unpopulated (the callback fires immediately after construction).In dev mode, this means you get incorrect warnings about missing properties.
The text was updated successfully, but these errors were encountered: