reactjs / reactjs/react.dev

React tutorial appears to be broken

未关闭
#4,577 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

主要语言
JavaScript
星标
11.8k
派生
7.9k
平均合并
1 天 11 小时
30 天内合并 PR
11

描述

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.

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先在 CodePen.io 中复现面向初学者的 Tic Tac Tutorial,并记录逐步输入代码时出现的错误。完成的标准是教程能够在 CodePen 中运行,并且其步骤能够清晰地支持练习 props 传递和 render 方法的使用。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript, react
领域
documentation
Issue 类型
缺陷
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。