Last active
August 6, 2019 05:31
-
-
Save ovpv/2e3d63927c355de2117c1212b231baa5 to your computer and use it in GitHub Desktop.
React SSR client index file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { hydrate } from "react-dom"; | |
hydrate( | |
<div>Hello World</div>, | |
document.getElementById("app") | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment