gitmyhub

react.dev

JavaScript ★ 12k updated 3d ago

The React documentation website

The source code for the official React documentation website, built with Next.js, which anyone can run locally, edit, and contribute to via a standard pull request workflow.

JavaScriptNext.jsYarnsetup: easycomplexity 2/5

This repository holds the source code for react.dev, the official documentation website for the React JavaScript library. React is one of the most widely used tools for building web user interfaces, and this site is where its creators publish guides, references, and tutorials.

The site itself is built with Next.js and managed with Yarn, two common JavaScript development tools. To run it on your own machine, you install the dependencies and start a local development server with a couple of commands. Changes to the site's content or components show up in the browser immediately without needing to restart anything.

The repository is set up for community contributions. The guidelines explain that different sections of the documentation have different tones, so contributors are encouraged to read them before writing more than a sentence or two. Standard practice is to fork the repo, create a branch, make the edit, run the automated checks (which cover formatting, linting, and type validation), and open a pull request with screenshots if the change is visual.

Translation of the site into other languages is an ongoing community effort, with a tracked issue listing the current status of each language. The written content on react.dev is licensed under CC-BY-4.0, meaning it can be freely shared and adapted with credit.

Where it fits