lien-jiseo / lien-jiseo/react-tutorial

Lifting State Up, Again

Open
#15 0 comments 0 reactions 1 assignee View on GitHub

@lien-jiseo is already working on this.

Since Jun 16, 2022.

  • #16 by @lien-jiseo — merged
enhancement
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

  • as-is
    • function calculateWinner 함수 추가
    • Board에 calculateWinner(squares) 추가
    • Board의 handleClick 변경
  • to-be
    • Game클래스에 constructor 추가
    • Board의 constructor를 삭제, renderSquare 수정
    • Game 컴포넌트의 render 수정
    • Board 컴포넌트의 render 수정
    • Board의 handleClick을 Game으로 이동

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.