jaredly / jaredly/jaredly.github.io

React.arrayToElement -> ReasonReact.arrayToElement

未关闭
#8 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
9
派生
12
PR 合并指标
30 天内没有已合并 PR

描述

Excellent post @jaredly!

I noticed that in a few places the post has`React.arrayToElement` when it should say `ReasonReact.arrayToElement`.

Also, I got pretty tripped up here:

![image](https://user-images.githubusercontent.com/4427/27989572-4d92e430-63f0-11e7-8d4e-990e41afcdb6.png)

I didn't notice the `/* ... */` had code inside it! After all, it kinda looks like a comment. This led to me writing my state type definition after the call to `ReasonReact.statefulComponent`, which led to `Unbound record field items` errors that were pretty confusing for me.

Maybe that collapsable section should be open by default? Or maybe you could use a disclosure arrow instead of comment syntax.

Anyway, thanks again for writing this! 😄

贡献指南

这个仓库没有索引到贡献指南

调研方向

定位包含 `React.arrayToElement` 引用和折叠代码示例的帖子;该 issue 未指出文件或测试。更正 API 名称,并让隐藏的代码更容易识别或发现,然后验证渲染后的帖子是否清晰地呈现了该示例。

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

评估

技术栈
javascript, react
领域
documentation
Issue 类型
文档
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

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