What’s New With Server-Side Rendering in React 16
Sasha Aickin
9K17

In the “How SSR Works In React 15” section you do “res.write(renderToString(<MyPage/>));” and then on the client side you do render(<MyPage/>, document.getElementById(“content”));. So technically you need both MyPage on the server and client side? How is this server side rendering when you are renderingToString on the server and then hydrating the same component on the client? I am new to this concept so I am not sure if I asked a valid question. Please give input if possible.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.