I'm curious which router from Next.js is recommended by someone at Appwrite for use with Next.js. Should I use the App Router or the Pages Router?
This is because when you use the App Router, you need to work on both the client and server sides. Also, it seems a bit tricky to set up server-side rendering with Appwrite. And when using the client, I need to turn every single component into a client component, which seems to make the App Router messy, I think.
It is always easier to use client-rendering, even better for rendering loading. (It is only my personal opinion). But if you want to use ssr, you can use appwrite-ssr npm pck
Maybe you can switch the ssr off, cant you?
If you don't need seo, then disabling SSR could probably be a good choice
Recommended threads
- I’m facing an issue with deployments on ...
Hi Appwrite Support, I’m facing an issue with deployments on Appwrite Sites. A few days ago (around 3–4 days back), everything was working perfectly. My deplo...
- Project auto-blocked after load testing ...
Hi team 👋 My project has been automatically blocked with the message: "Project is currently blocked — Access to this project is restricted. Contact support if...
- App build crashing with "Internal error"
Hello Appwrite team! 👋 We are trying to deploy a Next.js application on Appwrite Cloud, but our builds are consistently failing. The deployment log successful...