From e8f4a6653dc3f5d9702236a3abed887ca44dcfbb Mon Sep 17 00:00:00 2001 From: dan Date: Thu, 7 Apr 2022 14:12:58 +0100 Subject: [PATCH] Fix import in example --- packages/react/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/README.md b/packages/react/README.md index 493f9c83395dd..826563e1b9a12 100644 --- a/packages/react/README.md +++ b/packages/react/README.md @@ -10,7 +10,7 @@ The `react` package contains only the functionality necessary to define React co ```js import { useState } from 'react'; -import { createRoot } from 'react-dom'; +import { createRoot } from 'react-dom/client'; function Counter() { const [count, setCount] = useState(0);