본문 바로가기

co-cherry

검색하기
co-cherry
프로필사진 co-cherry

  • 분류 전체보기 (18) N
    • C (0)
    • Python (2)
    • Unity (0)
    • React (9)
    • Springboot (7) N
    • SQLD (0)
    • 독서 (0)
    • 웹 개발 (0)
    • 정보 (0)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2026/05   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Tags
  • tanstack
  • 백준
  • annotation
  • 예외처리
  • React
  • SpringBoot
  • 오류 #사용자계정 #빌드 #설치오류
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록tanstack (1)

co-cherry

TanStack Query

TanStack QueryReact 애플리케이션에서 서버 상태(Server State)를 관리하기 위한 비동기 상태 관리 라이브러리 서버에서 데이터를 가져오고, 캐싱하고, 동기화하고, 업데이트 하는 모든 과정을 대신 관리해준다. Q. 왜 필요할까?useEffect + fetch 로 직접 서버 데이터를 관리하면 매번 반복되는 코드를 작성해야 함 const [data, setData] = useState(null);const [isLoading, setIsLoading] = useState(false);const [error, setError] = useState(null);useEffect(() => { setIsLoading(true); fetch('/api/todos') .then(res =..

React 2026. 3. 27. 22:40
이전 Prev 1 Next 다음

Blog is powered by AXZ / Designed by Tistory

티스토리툴바