Overview
The react.dev repository contains source code and documentation for the website. Users will require Git, Node 12.x or higher, Yarn, a fork of the repository for contributions, and a local clone of the react.dev repo. The installation process involves navigating to the project root, installing dependencies with Yarn, and running the development server with the ‘yarn dev’ command.
Features
- React Components Hot-Reload: Changes to React components in the source folder will hot-reload for faster development iteration.
- Markdown Files Hot-Reload: Changes to markdown files in the content directory will hot-reload, ensuring quicker updates.
- Contributing Guidelines: Detailed guidelines are provided for contributing, including branch creation, making changes, testing, and pushing code.
Installation
- Navigate to the project root by running
cd react.dev
. - Install the website’s npm dependencies using
yarn
.
Summary
The react.dev repository provides a comprehensive guide for users to contribute to the website. It outlines the prerequisites, installation process, running the development server, and contributing guidelines. By following these steps, users can efficiently make changes, test them, and contribute to the react.dev project.