Giter Club home page Giter Club logo

submission_zerozoo's Introduction

해당 프로젝트를 실행하는 방법

사전 준비물

  • github auth token
  • node v12 이상
  • yarn 혹은 npm 혹은 pnpm

해당 프로젝트는 github auth token을 필요로합니다. github personal access token을 생성하는 방법 Creating a personal access token

설치 방법

# 원하는 디렉토리에서 아래의 내용을 터미널에 복사 붙여넣기
git clone https://github.com/zerozoo-a/submission_zerozoo.git
$ yarn install # npm install

실행 가능한 스크립트

yarn run start
npm run start

submission_zerozoo's People

Contributors

zerozoo-a avatar

Watchers

 avatar

submission_zerozoo's Issues

relay mutation 중 버그 발견..?

image

image

image

github graphQL API를 사용하여 화면을 mutation에 대한 응답값으로 화면을 그려줄 때,

removeStar mutation에 대한 payload와 preview 사진입니다.

두번째 사진을 보게 되면 stargazerCount와 viewerHasStarred의 값이 서로 모순이라는 것을 알 수 있는데요.

계속 위와 같은 상황이 발생하지는 않지만 같은 id에 여러번 요청하는 경우 위와 같은 상황이 발생 하였습니다.

stargazerCount값이 0인 상황인데 이 api의 viewerviewerHasStarrd를 가지고 있는지를 나타내는 값 true값입니다.
아무도 별을 준 적이 없지만 값이 true인 것입니다. 이를 해결하려면 서버측이 해결해주면 되긴 하겠지만 클라이언트 측에서 해결한다면
별이 0인 경우에 대한 핸들링을 추가하여 볼 수 있겠지만 완벽한 대응은 힘들 것입니다

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.