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

[Refactor] Context를 이용하여 MapContainer, Overlay 구조 개선 #5

Open
pa-rang opened this issue Jun 1, 2021 · 0 comments
Open

Comments

@pa-rang
Copy link
Member

pa-rang commented Jun 1, 2021

저번 프짝타때 이야기했던 것처럼 Context를 사용해보는 것은 어떨까유?

<KakaoMapProvider> // Map 상태가지고 있음
  <KakaoMapContainer> // Map 객체 생성 후 KakaoMapContext에 저장하는 책임
    <KakaoMapOverlay /> // KakaoMapContext에 Map 객체가 존재한다면 거기에 CustomOverlay 추가하는 책임
  </KakaoMapContainer>
</KakaoMapProvider>

Originally posted by @evan-moon in #2 (comment)

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

No branches or pull requests

1 participant