noscript with Sveltekit
#article #coding/svelte #coding/sveltekit #writing #coding/js Articles
Once again, this is a very niche subject, as I would imagine most people building with Sveltekit are not worrying about people who have Javascript disabled.
The tricky part is not duplicating code for this.
<noscript></noscript>
And, well, you can't do it.
You can do it with only pure HTML in a string, but not with Svelte components, and setting HTML from a string is gross anyway.