Skip to content
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

Translate: preconnect #924

Merged
merged 2 commits into from
May 29, 2024
Merged

Conversation

jungwoo3490
Copy link
Contributor

@jungwoo3490 jungwoo3490 commented May 26, 2024

안녕하세요 :) preconnect 문서를 번역했습니다.

Progress

Copy link

vercel bot commented May 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
ko-legacy-reactjs-org ⬜️ Ignored (Inspect) Visit Preview May 27, 2024 2:40pm

@@ -5,13 +5,13 @@ canary: true

<Canary>

The `preconnect` function is currently only available in React's Canary and experimental channels. Learn more about [React's release channels here](/community/versioning-policy#all-release-channels).
`preconnect`는 현재 React의 카나리아(Canary) 버전 및 실험 채널에서만 사용할 수 있습니다. 여기에서 [React의 릴리즈 채널](/community/versioning-policy#all-release-channels)에 대해 자세히 알아보십시오.
Copy link
Member

Choose a reason for hiding this comment

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

카나리도 실무에서 많이 쓰는 용어기 때문에 그대로 사용해도 무방할 듯합니다.

Suggested change
`preconnect`는 현재 React의 카나리아(Canary) 버전 및 실험 채널에서만 사용할 수 있습니다. 여기에서 [React의 릴리즈 채널](/community/versioning-policy#all-release-channels)에 대해 자세히 알아보십시오.
`preconnect`는 현재 React의 카나리(Canary) 버전 및 실험 채널에서만 사용할 수 있습니다. 여기에서 [React의 릴리즈 채널](/community/versioning-policy#all-release-channels)에 대해 자세히 알아보십시오.


</Canary>

<Intro>

`preconnect` lets you eagerly connect to a server that you expect to load resources from.
'preconnect'를 사용하면 리소스를 로드할 것으로 예상되는 서버에 연결할 수 있습니다.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
'preconnect'를 사용하면 리소스를 로드할 것으로 예상되는 서버에 연결할 수 있습니다.
'preconnect'를 사용하면 리소스를 가져올 것으로 예상하는 서버에 연결할 수 있습니다.

* In server-side rendering or when rendering Server Components, `preconnect` only has an effect if you call it while rendering a component or in an async context originating from rendering a component. Any other calls will be ignored.
* If you know the specific resources you'll need, you can call [other functions](/reference/react-dom/#resource-preloading-apis) instead that will start loading the resources right away.
* There is no benefit to preconnecting to the same server the webpage itself is hosted from because it's already been connected to by the time the hint would be given.
* 동일한 서버에 대한 여러 번의 `preconnect` 호출은 한 번의 호출과 동일한 효과를 갖습니다.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
* 동일한 서버에 대한 여러 번의 `preconnect` 호출은 한 번의 호출과 동일한 효과를 갖습니다.
* 동일한 서버에 대해 여러 번의 `preconnect` 호출은 한 번의 호출과 동일한 효과를 갖습니다.

@jungwoo3490
Copy link
Contributor Author

@hg-pyun 리뷰 반영 완료했습니다. 확인 부탁드립니다!!

Copy link
Member

@hg-pyun hg-pyun left a comment

Choose a reason for hiding this comment

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

LGTM

@hg-pyun hg-pyun merged commit 6e20c50 into reactjs:main May 29, 2024
3 checks passed
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.

None yet

2 participants