I have a very little knowledge about SSR. Currently, I have two servers. I have built a CSR Single Page App using React on one server and backend on Nodejs + express on another server. My app has a login page.
- How can I move my existing Login component logic to SSR and after successfull login all other components must work from CSR. I don't know how to achieve this goal.
- Do I need to turn my CSR react app server into SSR by using something like Nextjs and the backend nodejs server should continue to operate like before? Or do I need to use SSR logic on my backend Nodejs server?
- Or do I need to migrate my whole CSR react app into SSR? Then do i still need backend nodejs server?
I might sound confusing asking this question. Please let me know if i need to explain it a bit further.