jaredly / jaredly/jaredly.github.io
React.arrayToElement -> ReasonReact.arrayToElement
- 主要语言
- 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:

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