GithubHelp home page GithubHelp logo

to-do-list-with-tanstack-query's Introduction

Tanstack Query + TypeScript 추가 실습 세션

목표

  • 문제를 풀면서 Tanstack Query, TypeScript 이해하기
  • 실습과 강의를 통해 왜 사용하는지 깨닫기

시작하기

  1. 저장소 클론
    git clone ...
  2. 해당 파일로 이동
    cd ...
  3. 패키지 설치
    npm install
  4. json-server 실행
    npm run server
  5. 데브 서버 실행
    npm start

문제

  1. src/api.ts에 있는 Todo 타입 정의하기.

  2. src/App.tsx에 있는 데이터 페칭 로직과 비동기 상태 관리 로직을 useQuery로 개선하기.

    2.1 데이터 페칭 로직은 src/api.ts에 옮기기.

  3. src/components/TodoItem.tsxonClick 이벤트 부분을 모두 채우기.

권장 사항

VS Code에 Prettier와 ESLint 확장을 설치해 주세요.(필수는 아닙니다!)

to-do-list-with-tanstack-query's People

Contributors

byungyeonkim avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.