Skip to content

[Korean] streaming.md #41

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 1 commit into from
Jun 15, 2017
Merged

[Korean] streaming.md #41

merged 1 commit into from
Jun 15, 2017

Conversation

ChangJoo-Park
Copy link
Collaborator


## 스트리밍 주의사항

스트림 렌더링 모드에서 렌더러는 가상 DOM 트리를 탐색할 때 가능한 한 빠르게 데이터를 출력합니다. 즉, "첫번째 청크"를 가져와 클라이언트로 더 빠르게 보냅니다.

Choose a reason for hiding this comment

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

청크(chunk) or 덩어리(chunk) 로 표현하면 좋을 것 같은데 어떻게 생각하시나요?


스트림 렌더링 모드에서 렌더러는 가상 DOM 트리를 탐색할 때 가능한 한 빠르게 데이터를 출력합니다. 즉, "첫번째 청크"를 가져와 클라이언트로 더 빠르게 보냅니다.

그러나 첫번째 청크가 만들어질 때 하위 컴포넌트는 아직 인스턴스화 되지 않고 라이프사이클 훅도 호출되지 않은 상태입니다. 그러므로 자식 컴포넌트가 라이프사이클 훅의 렌더링 컨텍스트에 데이터가 필요한 경우 스트림을 시작할 때 데이터를 사용할 수 없습니다. 애플리케이션 마크업 전에 많은 컨텍스트 정보(Head 정보 또는 인라인으로 추가되는 CSS)가 표시되어야 하므로 컨텍스트 데이터를 사용하기 전에 스트림이 완료될 때까지 기다려야 합니다.

Choose a reason for hiding this comment

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

에 hooks 도 같이 적어놓으면 읽는 사람들에게 이해하기 더 좋을 것 같은데 어떻게 생각하시나요?

@ChangJoo-Park ChangJoo-Park merged commit 3770859 into vuejs:master Jun 15, 2017
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.

2 participants