[사전 미션 - CSR을 SSR로 재구성하기] - 에프이(박철민) 미션 제출합니다.#15
Open
chysis wants to merge 13 commits into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤔 생각해 보기
1. CSR과 SSR에서 초기 페이지 로딩 시간에 어떤 차이가 있었을까? 그 이유는?
CSR의 경우 위 사진과 같이 빈 html 껍데기만 먼저 보여주고, 이어서 js를 불러온 뒤 화면의 구성 요소를 렌더링한다.
SSR의 경우 서버에서 미리 렌더링 한 html 파일을 보내주기 때문에 처음부터 빈 화면을 보지 않게 된다. 이후 js를 불러와 상호 작용이 가능해진다.
💡 답변 요령
2. 서버 측에서 데이터를 가져오는 방식과 클라이언트 측에서 데이터를 가져오는 방식을 비교해서 설명한다면?
<서버 측에서 데이터를 가져오는 방식 - SSR>
<클라이언트 측에서 데이터를 가져오는 방식 - CSR>