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

[PC-254] 코루틴 유틸함수 추가 및 LoginScreen 불필요한 Spacer 제거 #32

Merged
merged 4 commits into from
Jan 12, 2025

Conversation

tgyuuAn
Copy link
Member

@tgyuuAn tgyuuAn commented Jan 12, 2025

1. ⭐️ 변경된 내용

  • 코루틴 유틸함수 추가 및 LoginScreen 불필요한 Spacer 제거

2. 📌 이 부분은 꼭 봐주세요!

Padding으로 해결할 수 있는 부분은 최대한 Padding으로 해결하면 좋아요!

Spacer()로 하게 될 경우 렌더링 되는 과정에서 트리에 UI Node가 추가되어서 성능상 더 좋지 않을 수 있어요.

Modifier.padding()으로 표현할 경우 해당 노드에 붙어서 옵션만 달아주는 느낌이라서 훨씬 좋아요!

Spacer(modifier=Modifer.weight(1f) 같은 경우에만 Spacer를 사용하면 좋을 것 같습니다~~




SideEffect도 Intent로만 호출할 수 있도록 바꾸고,

해당 함수의 예시를 repeatOnStarted()로 하면 될 것 같습니다~

@tgyuuAn tgyuuAn added 기능 ⚒️ 새로운 기능 구현 ⚒️ 리팩토링 🧰 동작의 변화는 없지만 가독성, 유지보수 측면에서의 코드 개선 🧰 ㅌㄱ태규 ☀️ 훗날 크게될 ENFP 남성, tgyuuAn labels Jan 12, 2025
@tgyuuAn tgyuuAn requested a review from sksowk156 January 12, 2025 07:43
@tgyuuAn tgyuuAn self-assigned this Jan 12, 2025
@tgyuuAn tgyuuAn added 리뷰 원해요🔥 피어의 리뷰를 기다리는 ing.. 🔥 and removed 기능 ⚒️ 새로운 기능 구현 ⚒️ labels Jan 12, 2025
Copy link
Contributor

@sksowk156 sksowk156 left a comment

Choose a reason for hiding this comment

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

고생하셨습니다 태규님! 나머지 PR도 빠르게 확인해볼게요!! 👍

@sksowk156 sksowk156 added 머지 해도될듯염🌟 현재 코드를 기존 코드에 합쳐도 될 것 같다라고 판단..! 🌟 and removed 리뷰 원해요🔥 피어의 리뷰를 기다리는 ing.. 🔥 labels Jan 12, 2025
@tgyuuAn tgyuuAn merged commit b40ccda into develop Jan 12, 2025
1 check passed
@tgyuuAn tgyuuAn deleted the feature/tgyuu/PC-254 branch January 12, 2025 07:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ㅌㄱ태규 ☀️ 훗날 크게될 ENFP 남성, tgyuuAn 리팩토링 🧰 동작의 변화는 없지만 가독성, 유지보수 측면에서의 코드 개선 🧰 머지 해도될듯염🌟 현재 코드를 기존 코드에 합쳐도 될 것 같다라고 판단..! 🌟
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants