Closed laurenskling closed 6 years ago
ReactDOM 16 introduced hydrate() to attach to server side rendered content. Using render() to do this will be deprecated in React 17.
hydrate()
render()
https://reactjs.org/docs/react-dom.html#hydrate https://github.com/paypal/react-engine/blob/0aeb13300da152a166cc01c06531f9ef197172ca/lib/client.js#L129
I think this was solved at #203
It looks like it!
ReactDOM 16 introduced
hydrate()
to attach to server side rendered content. Usingrender()
to do this will be deprecated in React 17.https://reactjs.org/docs/react-dom.html#hydrate https://github.com/paypal/react-engine/blob/0aeb13300da152a166cc01c06531f9ef197172ca/lib/client.js#L129