0bf2cca5d7
* Filter out Svelte's unexpected class prop console warnings
Astro's hydration code passes a `class` prop to Svelte components, inducing Svelte to log a warning about an unknown prop. Preempting this by exporting a `class` prop from the Svelte component isn't a viable workaround since `class` is a reserved identifier in JS.
This PR implements the console-filtering workaround suggested by @HiDeoo in #5665, borrowing the `useConsoleFilter` approach from the [preact integration](
|
||
---|---|---|
.. | ||
alpinejs | ||
cloudflare | ||
deno | ||
image | ||
lit | ||
markdoc | ||
mdx | ||
netlify | ||
node | ||
partytown | ||
preact | ||
prefetch | ||
react | ||
sitemap | ||
solid | ||
svelte | ||
tailwind | ||
turbolinks | ||
vercel | ||
vue |