reactjs / reactjs/react.dev

React tutorial appears to be broken

Open
#4,577 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
11.8k
Forks
7.9k
Avg merge
1d 11h
Merged PRs (30d)
11

Description

The beginners Tic Tac Tutorial produces errors when the code is entered into Codepen.io
There is no way to get Codepen to register the code as correct except when copy pasting the end demo file.
I'm more muddled by the concepts of react after this tutorial rather than informed and practiced by following it.
Rather better way would be to 1) one small module that lets you practice prop passing 2) one small module that lets you define the js code that will use the render method and so forth. The current tutorial seems a stream of thought and as a whole incoherent as a demonstration of reacts strengths.

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the beginners Tic Tac Tutorial in CodePen.io and document the errors that occur when the code is entered incrementally. Done means the tutorial works in CodePen and its steps clearly support practice of prop passing and render-method usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react
Domain
documentation
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.