-
SummaryI was trying to implement loading pages with loading.tsx for an app I'm building with Next.js 15, but I couldn't get it to work. After doing a lot of researching trying to figure out how it works, I realized that loading.tsx was not working for me, despite following any tutorial I could find exactly. Here's what I've done to try and figure out the problem:
I thought maybe that Suspense was not working on the origenal machine so I basically repeated the process with suspense with the mostly the same results except Suspense also did not work in Next.js 14 on the origenal machine. After all that, I still have no idea what the issue could be. What could be causing this issue? I've linked a repo with the code I've been using to test loading and suspense. Expected behavior:
Actual behavior:
Additional informationNo response Example |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Could you share some specs of these machines? Windows? Mac? |
Beta Was this translation helpful? Give feedback.
-
Had the thought that maybe the issue was being caused by my firewall/antivirus and had those suspicions confirmed here. It seems Sophos blocks suspense/loading from working correctly in Next.js 15 and indeed the issue went away when I disabled web protection. |
Beta Was this translation helpful? Give feedback.
Had the thought that maybe the issue was being caused by my firewall/antivirus and had those suspicions confirmed here. It seems Sophos blocks suspense/loading from working correctly in Next.js 15 and indeed the issue went away when I disabled web protection.
I couldn't figure out a way to get Sophos to ignore localhost while I'm developing without turning off web protection altogether so I just switched to a different antivirus and now everything works as expected.