Client side render a whole Next.js pages router web app?
Unanswered
Harlequin posted this in #help-forum
HarlequinOP
What is the recommended way if I need to client side render a whole Next.js web app?
I am integrating with a MongoDB database using MongoDB Data Access which recommends not to use server side rendering
"Do Not Use MongoDB Data Access with Server-side Rendering
While possible to use the MongoDB Data Access in server-side environments to query MongoDB, it is not generally advisable. You would need to persist user credentials in the browser to pass to the server on every request, which is a security vulnerability. Plus, MongoDB Data Access makes requests from a user object, which would need to be re-instantiated and re-authenticated on every request."
https://www.mongodb.com/docs/atlas/device-sdks/web/nextjs/
What is the best way to client side render a whole Next.js application that is using pages router?
I am integrating with a MongoDB database using MongoDB Data Access which recommends not to use server side rendering
"Do Not Use MongoDB Data Access with Server-side Rendering
While possible to use the MongoDB Data Access in server-side environments to query MongoDB, it is not generally advisable. You would need to persist user credentials in the browser to pass to the server on every request, which is a security vulnerability. Plus, MongoDB Data Access makes requests from a user object, which would need to be re-instantiated and re-authenticated on every request."
https://www.mongodb.com/docs/atlas/device-sdks/web/nextjs/
What is the best way to client side render a whole Next.js application that is using pages router?