freeCodeCamp / freeCodeCamp/devdocs

DevDocs React documentation is missing code blocks from source documentation

Open
#2,615 1 comment 0 reactions 0 assignees View on GitHub
docs/improvement
Dominant language
Ruby
Stars
39.5k
Forks
2.6k
Avg merge
4d 32m
Merged PRs (30d)
13

Description

# 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.