-
ProblemuseSuspenseQuery is called once on the server and once on the client. I followed this example, but I don't know why it gets called twice. It seems to only happen when using next-themes, but I haven't been able to figure out the exact cause. If there is a problem with my configuration itself, I would appreciate it if you could let me know. Demohttps://codesandbox.io/p/devbox/next-themes-suspense-error-forked-ls72ls 2024-04-23.2.36.17.movAn issue has also been created in next-themes. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
seems like you are neither using |
Beta Was this translation helpful? Give feedback.
seems like you are neither using
initialData, orhydration, or using our experimental nextjs streaming adapter. So the data from the server never makes it to the client side cache.