Summary
The CodeSandbox generated from the Tic-Tac-Toe tutorial contains duplicate * and body CSS rules in src/styles.css.
The declarations are identical and do not affect the rendered result, but the duplication may confuse beginners following the tutorial.
Page
https://react.dev/learn/tutorial-tic-tac-toe
Details
Steps to reproduce:
- Open the Tic-Tac-Toe tutorial.
- Fork one of the interactive examples in CodeSandbox.
- Download and extract the sandbox.
- Open
src/styles.css.
The * and body rules appear twice with identical declarations.
I confirmed the same duplication in multiple examples on the tutorial page.
The tutorial source defines them only once per example, so the duplication appears to occur when the sandbox files are generated.
Expected result:
src/styles.css contains only one copy of each rule.
Summary
The CodeSandbox generated from the Tic-Tac-Toe tutorial contains duplicate
*andbodyCSS rules insrc/styles.css.The declarations are identical and do not affect the rendered result, but the duplication may confuse beginners following the tutorial.
Page
https://react.dev/learn/tutorial-tic-tac-toe
Details
Steps to reproduce:
src/styles.css.The
*andbodyrules appear twice with identical declarations.I confirmed the same duplication in multiple examples on the tutorial page.
The tutorial source defines them only once per example, so the duplication appears to occur when the sandbox files are generated.
Expected result:
src/styles.csscontains only one copy of each rule.