Skip to content

feat: main msw#12

Merged
dev-yun merged 2 commits intodevelopfrom
feat/main_msw
Apr 25, 2024
Merged

feat: main msw#12
dev-yun merged 2 commits intodevelopfrom
feat/main_msw

Conversation

@dev-yun
Copy link
Copy Markdown
Contributor

@dev-yun dev-yun commented Apr 24, 2024

Reference 📚


Motivation 🤔

  • BE없이 기능 개발 + test code + storybook을 위해 msw 도입

Key Chains 🔑

  • MockProvider 코드를 통해 browser 환경에서 mockServiceWorker에서 제공하는 service worker 등록
  • handler를 통해 place, review, travel story get api 추가
    • query params, params등을 사용하는 방법 공부 필요
    • 아직 hot reload가 안되는 것 같음 (handler에서 response값을 변경해도 바로 반영되지 않음 cache되나?)

2024-04-14.11.30.35.mov

@dev-yun dev-yun requested a review from dgd03146 April 24, 2024 13:25
@dev-yun dev-yun marked this pull request as ready for review April 24, 2024 13:26
@dev-yun dev-yun merged commit f7e3bce into develop Apr 25, 2024
@dev-yun dev-yun deleted the feat/main_msw branch April 25, 2024 10:59
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

Successfully merging this pull request may close these issues.

1 participant