Next.js Discord

Discord Forum

Nextjs freeze bug

Unanswered
American black bear posted this in #help-forum
Open in Discord
American black bearOP
I’m not even sure how to describe this but something is really strange with nextjs on iOS I’ve done though testing and the issue seems to be on IOS mobile only like android is good desktops and Mac’s are good

The issue was not there in previous implementations I’m using mutations and react query for most of the application data access and for authentication I have a auth guard in the server component page level check + proxy. I have tried deleting proxy still weird, I have done a lot of things but still seems weird it’s really hard to explain but there is something in terms of high loading times even tough I’m following best practices with suspense and loading.tsx I have tried commenting out all scripts issue still persists I attached a small example when I sign out I just have a simple mutation that runs and calls the API endpoint to delete the session then the ui freezes like this at login as well after a long time I get redirected to the dashboard any help would be appreciated

5 Replies

American black bearOP
And the screenshot is actually showing the sign out and loading together I did not actually take it on time of the transition
@B33fb0n3 sorry for the ping but you helped me last time
American black bearOP
I recently upgraded to nextjs 16 but I tried reverting the issue still exists.
i;m wondering if its some prefething or what it could be because on laptops its all smooth and android device.s
American black bearOP
bumping this up if anyone has a soluton