Skip to content

Refactor tic-tac-toe tutorial#8551

Open
aryecatcher wants to merge 1 commit into
reactjs:mainfrom
aryecatcher:main
Open

Refactor tic-tac-toe tutorial#8551
aryecatcher wants to merge 1 commit into
reactjs:mainfrom
aryecatcher:main

Conversation

@aryecatcher

Copy link
Copy Markdown
  • Board 组件使用 map 动态渲染 Square 并展示 key prop
  • 用 CSS Grid 替代 board-row 布局
  • 使用事件委托替代每个 Square 单独的点击监听器

@github-actions

Copy link
Copy Markdown

Size changes

Details

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant