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
- Why does this happen?
`AppwriteException: general_argument_invalid, Invalid `secret` param: Value must be a valid string and at least 1 chars and no longer than 256 chars (400)` the...
- How to properly implement custom domain?...
- Site deployment does not work.
I can change a file, deploy, change does not take effect. Delete file in repo, push changes,deploy. Old file remains undeleted Duplicate file, rename it, push,...