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
Astro v4.0.7 Node v20.10.0 System macOS (arm64) Package Manager npm Output static Adapter none Integrations @astrojs/svelte @astrojs/tailwind
No response
I have a very simple counter svelte component included into an Astro component.
When viewing the page after running "astro dev", I see the following warning in the console.
<Counter> was created with unknown prop 'data-astro-cid-j7pv25f6'
I see this is a warning generated from the stackblitz sample for Svelte as well (linked as reproducible example)
Ideally this warning should not appear, as it adds noise to the console. With a warning per component, this can easily make the experience poor.
https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-svelte?file=src%2Fcomponents%2FCounter.svelte
The text was updated successfully, but these errors were encountered:
Filter out Svelte's unknown data prop warnings
2186174
Fixes withastro#9508 The existing console filter looked for class attributes. This change adds a check for warnings related to data attributes as well.
Create changeset for fix to withastro#9508
dbb687e
😌 Phew… I'm glad I found this! I thought it had something to do with one of my dependencies.
Card.svelte:82 <Card> was created with unknown prop 'data-astro-cid-bqi7seht'
I'm in the of upgrading to astro 4
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I have a very simple counter svelte component included into an Astro component.
When viewing the page after running "astro dev", I see the following warning in the console.
I see this is a warning generated from the stackblitz sample for Svelte as well (linked as reproducible example)
What's the expected result?
Ideally this warning should not appear, as it adds noise to the console. With a warning per component, this can easily make the experience poor.
Link to Minimal Reproducible Example
https://stackblitz.com/github/withastro/astro/tree/latest/examples/framework-svelte?file=src%2Fcomponents%2FCounter.svelte
Participation
The text was updated successfully, but these errors were encountered: