Overlay Component가 서로 의존성을 가질 때, 어떻게 해결할 수 있나요? #180
Unanswered
e-tae-hyeon
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
문제 상황 : ModalA와 ModalB가 서로를 열 수 있는 구조
해결 방법이
ModalA,B가 각각 props로 open handler를 주입 받는다.
정도밖에 생각이 안나는데, 해당 방법은 부모 컴포넌트에 의존하게 되는 구조라 좋은 방법이라고 생각이 들진 않습니다..더 좋은 해결 방법 추천 부탁드립니다.
Beta Was this translation helpful? Give feedback.
All reactions