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.
💡 변경사항 & 이슈
네이티브 통신 핸들러 연결
✍️ 관련 설명
openCamera, openGallery, share, copy, createReview 핸들러 전부 연결 했어
이게 페이지 단위로 구성해서 결국 createReview 데이터 전달 과정에서 전역 store가 필요할 수 밖에 없더라구?
context, zustand, useSyncExternalStore 이렇게 3개정도를 고려해봤는데 각각의 장단점과 특징이 있어
결론적으로는 zustand를 선택했는데 번들 사이즈 1kb라 적었고 코드가 context보다 간단하게 관리할 수 있어서 사용하기로 결정한 거 같아
혹시 다른 의견이 있거나 더 나은 점이 있다면 알려줘!
이외의 기능 테스트는 네이티브 배포가 들어가야 확인 가능할 듯!
⭐️ Review point
📷 Demo
.