Run the React docs site locally to preview your edits before submitting a pull request
Fix a typo, clarify an explanation, or add a code example to the official React documentation
Start or continue a community translation of the React docs into another language
Contribute a new guide or reference page by following the site's content format and tone guidelines
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.
← reactjs on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.