We can only render in the browser targeting a specific node.
Scenario for improvement
When HTML is rendered from the server, we don't really need to render everything again in the browser, since React can pick up from where the server rendering ended.
Currently
We can only render in the browser targeting a specific node.
Scenario for improvement
When HTML is rendered from the server, we don't really need to render everything again in the browser, since React can pick up from where the server rendering ended.
This can be achieved with
ReactDOM.hydrate
: https://reactjs.org/docs/react-dom.html#hydrateAdding a new function in
frint-react
forhydrate
would help achieve a nice solution for server-to-client flow.