Conversation
Contributor
Fiber 이전에 리액트트 스택 기반 재조정 알고리즘으로 사용하다보니 렌더링 우선 순위 같은 문제를 해결할 수 없었다고 하네요. 즉 동기적으로 사용했다고 볼 수 있어요!. 지금은 렌더링을 작은 단위로 나누고 비동기로 동작하도록 하여 우선 순위 문제를 해결할 수 있었다고 합니다! 제 생각이지만 이 때부터 리액트가 렌더링 관련한 UX를 많이 신경쓰는것 같아요. React 18버전에서는 Fiber를 바탕으로 중요한 작업과 덜 중요한 작업들을 나누어 처리하고 있는것 처럼요! |
D5ng
reviewed
Jan 8, 2025
Contributor
D5ng
left a comment
There was a problem hiding this comment.
Virtual DOM 만드는게 어려웠을텐데 고생 많으셨습니다! 저랑은 다르게 구현을 하였지만 VirtualDOM을 이해하는데 큰 문제가 없는것 같아요!
한 가지 궁금한건 JSX를 사용하지 않고 RealDOM의 형태를 사용하여 구현하셨는데, JSX를 사용한것과 비교했을 때 어떤 느낌이였나요 ?
| @@ -0,0 +1,11 @@ | |||
| { | |||
Contributor
There was a problem hiding this comment.
저는 vite.config.ts에서 세팅했는데, 이렇게 해도 잘 동작하나보네요!
이 방법이 원초적인것 같아 좋은것 같네요. 참고해서 다시 해봐야겠어요 👍
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.
공부한 것
고민 점