React server rendering next.js related data problems?

how this data is given to the react page when node.js is used as a server for rendering. Or request the interface directly through getInitialProps?

Dec.31,2021

node.js write the interface, and then the node layer server requests the interface to get the data and then passes it to the react component, and then renderToString is inserted into the page. Call the
component as it should.

Menu