Skip to content

Instantly share code, notes, and snippets.

@ovpv

ovpv/client - index.js

Last active Aug 6, 2019
Embed
What would you like to do?
React SSR client index file
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