Skip to content

docs: fix missing code highlights in tic-tac-toe tutorial#3527

Merged
dai-shi merged 1 commit into
mainfrom
copilot/discussion-3526
Jun 16, 2026
Merged

docs: fix missing code highlights in tic-tac-toe tutorial#3527
dai-shi merged 1 commit into
mainfrom
copilot/discussion-3526

Conversation

Copilot AI commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Related Bug Reports or Discussions

#3526

Summary

Five code blocks in the tic-tac-toe tutorial had incorrect highlight ranges — either missing newly-introduced lines or over-highlighting lines already present from a prior step.

Code block Before After
Board — "Declaring a Winner or Draw" {6-7,9,21} {6-7,9,20-21,40}
Board — controlled component {1} {1,11}
Game — adding jumpTo {29-44} {13-15,29-44}
Game — adding currentMove {2-8} {4-5,8}
Game — removing xIsNext from store {2-5,13,17} {6,13,17}

Check List

  • pnpm run fix for formatting and linting code and docs

@vercel

vercel Bot commented Jun 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
zustand-demo Ready Ready Preview, Comment Jun 15, 2026 11:12pm

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Jun 15, 2026

Copy link
Copy Markdown

commit: 63e758f

@github-actions

Copy link
Copy Markdown

Size Change: 0 B

Total Size: 13.1 kB

ℹ️ View Unchanged
Filename Size
dist/esm/index.mjs 64 B
dist/esm/middleware.mjs 4.1 kB
dist/esm/middleware/immer.mjs 212 B
dist/esm/react.mjs 342 B
dist/esm/react/shallow.mjs 198 B
dist/esm/shallow.mjs 82 B
dist/esm/traditional.mjs 412 B
dist/esm/vanilla.mjs 405 B
dist/esm/vanilla/shallow.mjs 557 B
dist/index.js 244 B
dist/middleware.js 4.11 kB
dist/middleware/immer.js 231 B
dist/react.js 357 B
dist/react/shallow.js 213 B
dist/shallow.js 189 B
dist/traditional.js 426 B
dist/vanilla.js 418 B
dist/vanilla/shallow.js 568 B

compressed-size-action

@Omar-Gebal Omar-Gebal left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dai-shi dai-shi merged commit a1f685c into main Jun 16, 2026
32 checks passed
@dai-shi dai-shi deleted the copilot/discussion-3526 branch June 16, 2026 22:55
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.

3 participants