Skip to content

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

@kwangyoulsagong

Description

@kwangyoulsagong

어떤 기능인가요?

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

작업 상세 내용

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

참고할만한 자료(선택)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions