From d818391e6f4b7525f55ac1e3b618b491e04c2f49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=89=81=EC=9D=B4=EB=A6=AC?= Date: Tue, 4 Apr 2023 07:53:24 +0900 Subject: [PATCH] docs: add-missing-space-in-unmount-component-at-node (#5875) --- src/content/reference/react-dom/unmountComponentAtNode.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/content/reference/react-dom/unmountComponentAtNode.md b/src/content/reference/react-dom/unmountComponentAtNode.md index 008943bd..e538ceb3 100644 --- a/src/content/reference/react-dom/unmountComponentAtNode.md +++ b/src/content/reference/react-dom/unmountComponentAtNode.md @@ -56,7 +56,7 @@ unmountComponentAtNode(domNode); Call `unmountComponentAtNode` to remove a mounted React component from a browser DOM node and clean up its event handlers and state. ```js [[1, 5, ""], [2, 5, "rootNode"], [2, 8, "rootNode"]] -import {render, unmountComponentAtNode} from 'react-dom'; +import { render, unmountComponentAtNode } from 'react-dom'; import App from './App.js'; const rootNode = document.getElementById('root'); @@ -90,7 +90,7 @@ In this example, clicking "Render React App" will render a React app. Click "Unm ```js index.js active import './styles.css'; -import {render, unmountComponentAtNode} from 'react-dom'; +import { render, unmountComponentAtNode } from 'react-dom'; import App from './App.js'; const domNode = document.getElementById('root');