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.
🔗 관련 이슈
🛠️ 작업한 내용
📸 스크린샷
🚨 참고 사항
흑흑... 정말 단순한 작업인 줄 알았는데 생각보다 오래 걸렸습니다.
로그아웃이랑 회원 탈퇴 후 rootView로 이동하는 로직을 구성했는데, 이동할 때마다 보라색 경고가 뜨더라고요.
알고 보니, rootView로 전환되는 과정에서
MyPageView
의 onAppear가 호출되면서 불필요한 액션을 send하고 있었습니다.이미 사라진 Store에 액션을 보내니 당연히 올바른 동작이 아니라고 경고가 표시되는 거였어요!
예외 처리를 해서 경고는 사라졌는데, 이런 방식이 마음에 들진 않네요.
UIKit 쓸 때가 그립기도 하고 사실 그냥 TCA가 미운걸지도 모르겠습니다.
조금 더 좋은 방법이 있는지 찾아봐야 될 것 같네용
개선할 부분있으면 코멘트 부탁드림니다!