freeCodeCamp / freeCodeCamp/devdocs

DevDocs React documentation is missing code blocks from source documentation

未关闭
#2,615 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
docs/improvement
主要语言
Ruby
星标
39.5k
派生
2.6k
平均合并
4 天 32 分钟
30 天内合并 PR
13

描述

# Documentation style bug

- Search for existing issues
https://github.com/freeCodeCamp/devdocs/labels/docs%2Fimprovement - did not find similar via queries like "React", "code block", "codeblock"

## Summary

The original React documentation usually presents a number of code blocks to demonstrate per concept or example. Often, one code block consists of multiple files which users can switch between, while devdocs only uses one of them. This article can be used for comparison: [source](https://react.dev/reference/react/StrictMode#fixing-bugs-found-by-re-running-effects-in-development) != [devdocs](https://devdocs.io/react/reference/react/strictmode#fixing-bugs-found-by-re-running-effects-in-development)

## Actual style

DevDocs
DevDocs

## Expected style

React.dev
React.dev

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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