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

fix: breakpointIndex가 바뀔 때 반응형을 사용하는 컴포넌트만 리랜더링 되도록 한다 #937

Merged
merged 1 commit into from
Feb 2, 2024

Conversation

tbvjaos510
Copy link
Contributor

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

@tbvjaos510 tbvjaos510 requested a review from a team February 2, 2024 07:17
Copy link

vercel bot commented Feb 2, 2024

@tbvjaos510 is attempting to deploy a commit to the Class101 Team on Vercel.

To accomplish this, @tbvjaos510 needs to request access to the Team.

Afterwards, an owner of the Team is required to accept their membership request.

If you're already a member of the respective Vercel Team, make sure that your Personal Vercel Account is connected to your GitHub account.

@tbvjaos510 tbvjaos510 enabled auto-merge (squash) February 2, 2024 07:17
@tbvjaos510 tbvjaos510 merged commit 3c85844 into main Feb 2, 2024
1 of 4 checks passed
@tbvjaos510 tbvjaos510 deleted the refactor/native-responsive branch February 2, 2024 07:24
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