React lazy server side rendering

708 Views Asked by At

I want to do server-side rendering with code splitting and the works. I'm using componentDidMount() to load data to be displayed.

Before delving into ReactDOMServer, I would like to know how it would handle these situations (in case it has shortcomings). How does the ReactDOMServer determine when the page has finished loading, and render it to HTML? Will it render before my data has been loaded?

0

There are 0 best solutions below