Javascript disabled doesn't work with Suspense
Unanswered
Chinese perch posted this in #help-forum
Chinese perchOP
When I try to go full server components , when I disable I notice that I get content rendered in a hidden div
<div hidden="" id="S:1"> at the bottom of the page - that is if I use Suspense. If I leave out Suspense it works fine. I've tried to do exactly like https://github.com/vercel/commerce/blob/main/app/layout.tsx but it works for them if you go to https://demo.vercel.store and disable javascript... Does anyone have an idea?5 Replies
Chinese perchOP
Hmm seems like this is another known problem: https://github.com/vercel/next.js/issues/50150
I have been using Next for 1 week and have spent the 5 days getting stuck on 2 major bugs... Not what I expected from such a popular framework I must say 😄
Is disabled javascript supposed to work for your deployment target ?
Javascript disabled doesn't work with Suspense, you are correct.
afaik this has been the case for a while but if you want to suggest a change, Next.js github is the place to go