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

feature: 리액트쿼리 api 연결 구현 #7

Open
5 tasks done
kwangyoulsagong opened this issue Jan 20, 2024 · 0 comments
Open
5 tasks done

feature: 리액트쿼리 api 연결 구현 #7

kwangyoulsagong opened this issue Jan 20, 2024 · 0 comments
Labels
✨ Feature 기능 개발

Comments

@kwangyoulsagong
Copy link
Contributor

kwangyoulsagong commented Jan 20, 2024

어떤 기능인가요?

get방식은 useQuery를 이용했고
Post Put Delete 같은 경우 useMutation이용

작업 상세 내용

  • 더미 데이터 json으로 만들기
  • QueryProvider로 원하는 범위내에 감싸기
  • useQuery문으로 get 방식 데이터 가지고오기
  • useMutation으로 post방식을 통해 데이터를 수정 또는 저장
  • useState 상태관리를 리액트쿼리 훅스로 전역상태 관리

참고할만한 자료(선택)

@kwangyoulsagong kwangyoulsagong added the ✨ Feature 기능 개발 label Jan 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Feature 기능 개발
Projects
None yet
Development

No branches or pull requests

1 participant