Skip to content

Commit

Permalink
Fix client SSR example in README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexzel authored and molefrog committed May 14, 2023
1 parent fc95181 commit 2401cea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -716,7 +716,7 @@ that to avoid having hydration warnings, the JSX rendered on the client must mat
the server, so the `Router` component must be present.

```js
import { hydrateRoot } from "react-dom/server";
import { hydrateRoot } from "react-dom/client";

const root = hydrateRoot(
domNode,
Expand Down

0 comments on commit 2401cea

Please sign in to comment.