Feature discussion: 0 js by default #173
orenelbaum
started this conversation in
Ideas
Replies: 2 comments 4 replies
-
Have you tried removing the I'm basically saying I think we already support this. |
Beta Was this translation helpful? Give feedback.
3 replies
-
We support islands now, which should theoretically (correct me if I'm wrong @nksaraf) introduce fully opt-in javascript. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Also known as "removing the script tag".
We see this in frameworks like Astro, Fresh, and I think Remix.
I think that it has some tradeoffs. It's obviously better to ship no js than js that doesn't do anything.
On the other hand I don't know if we want to encourage people to ever ship no js, I think that almost every website could be more accessible with at least some js.
I'd probably still ship this feature cause in terms of real tradeoffs it's hard to say what's better, but the hype factor is very big for this feature. I'm not sure how hard it is to implement but it doesn't sound like it should be too hard
Beta Was this translation helpful? Give feedback.
All reactions