fix: breakpointIndex가 바뀔 때 반응형을 사용하는 컴포넌트만 리랜더링 되도록 한다 #937
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.
기존에는 모든 Box에서 useWindowDImension을 사용하고 있어서 화면의 크기가 바뀔 때 (회전했을 때) 모두 리렌더링 되었는데, 이제 responsive value를 사용하는 컴포넌트만 리랜더링 되도록 했습니다.
다만 조건문으로 responsive value를 사용하지 않다가 사용했을 때 hook 개수가 달라지는 문제가 있어서 기존 클원 앱의 몇몇 부분을 수정해야 합니다