Skip to content

Translate: createRoot #657

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 24, 2023
Merged

Translate: createRoot #657

merged 2 commits into from
May 24, 2023

Conversation

reeseo3o
Copy link
Contributor

@reeseo3o reeseo3o commented May 18, 2023


```js
root.render(<App />);
```

An app fully built with React will usually only have one `createRoot` call for its root component. A page that uses "sprinkles" of React for parts of the page may have as many separate roots as needed.
온전히 React만으로 빌드된 앱에서는 일반적으로 루트 컴포넌트에 대한 `createRoot` 호출이 하나만 있습니다. 페이지의 일부에 React를 "뿌려서" 사용하는 페이지의 경우에는 루트를 필요로 하는 만큼 작성할 수 있습니다.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 문맥에서는 "빌드"도 같이 번역해주면 좋을 것 같습니다.

- 온전히 React만으로 빌드된 앱에서는 일반적으로 루트 컴포넌트에 대한
+ 온전히 React만으로 작성된 앱에서는 일반적으로 루트 컴포넌트에 대한

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

반영했습니다 :)

@hg-pyun hg-pyun merged commit 06352a4 into reactjs:main May 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants