Skip to content

docs: fix missing highlight on setXIsNext line in tic-tac-toe tutorial#3524

Merged
dbritto-dev merged 1 commit into
mainfrom
copilot/update-store-selection-methods
Jun 15, 2026
Merged

docs: fix missing highlight on setXIsNext line in tic-tac-toe tutorial#3524
dbritto-dev merged 1 commit into
mainfrom
copilot/update-store-selection-methods

Conversation

Copilot AI commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Related Bug Reports or Discussions

#3523

Summary

In the "Taking turns" section of the tic-tac-toe tutorial, the setXIsNext(!xIsNext) call was missing from the highlighted lines annotation on the code block, despite being a key addition in that step.

  • docs/learn/guides/tutorial-tic-tac-toe.md: Updated highlight annotation from ```jsx {2-3,6,11} to ```jsx {2-3,6,11,13} so line 13 (setXIsNext(!xIsNext)) is visually called out alongside the other new lines.

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 12:59pm

Request Review

@pkg-pr-new

pkg-pr-new Bot commented Jun 15, 2026

Copy link
Copy Markdown

commit: 343a52a

@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

@dbritto-dev dbritto-dev merged commit 07cee61 into main Jun 15, 2026
32 checks passed
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