I have a React app where I need to perform API calls that involve sensitive credentials in the request body. I'm concerned about rendering the whole app server-side, Is there a way to ensure that the API calls are executed server-side to prevent the exposure of sensitive data?
I have a basic understanding of both SSR and CSR, so i'm unsure if my desired outcome is achievable. Specifically, I'm unsure if server-side API calls require server-side rendering, especially in React 18.