Giter Site home page Giter Site logo

todo-list's Introduction

React 1주차 과제

배포 링크

실행 방법 (로컬 환경)

  1. npm install
  2. npm run start

과제 설명

  • 서버와 데이터를 주고 받기 위해 / 페이지가 리랜더링 되어도 데이터 값을 그대로 유지시키기 위해 json-server 사용
  • json-server는 glitch를 통해 배포
  • 가독성을 높이고 CSS in JS를 위해 styled-component 사용
  • 비동기 HTTP 통신, fetch를 사용하는 코드 보다의 높은 가독성을 위해 axios 사용
  • TodoList를 추가하면 제목 입력 부분에 다시 포커싱 하기 위해 useRef 사용
  • 데이터가 변경될 때마다 페이지 리랜더링을 위해 useState(setReFetch) 사용
  • 추후 확장성을 위해 로그인(메인)페이지, 회원가입 페이지 구성(기능구현x)

사용 라이브러리

  • axios
  • styled-components

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.