How can a react single-page application project be quickly converted to a server-side rendering project?

the react development used for the company"s news and information projects did not take into account the seo problem at that time, but now the company needs to consider seo. It is generally said to use server rendering on the Internet. I would like to ask how you can quickly turn the current project into server rendering? Is it better to use egg or koa2 on the server? Can the data of the backend interface be used normally after using the server rendering request? Ask for the advice of the great gods who have done it! Hurry!


I think it doesn't matter, what you want to achieve is seo.

there is no need to complicate the problem, just render the home page with react's ReactDOMServer , and then send the status Synchronize to (such as window.__react_state__) client

.
Menu