Skip to main content

Clone the repository

React Strict DOM is a Git repository maintained by Meta at facebook/react-strict-dom. Learn how to fork and clone the source code.

Install git​

You can interact with the git version control through the git command line program. We recommend following GitHub's instructions to install git.

Clone the source​

Meta-employees who have linked GitHub accounts and are registered as contributors may simply clone the source repository into a local folder.

git clone git@github.com:facebook/react-strict-dom.git
cd react-strict-dom

Clone a fork​

Other contributors should fork the repository to a GitHub account. And then clone the remote fork.

git clone git@github.com:<username>/react-strict-dom.git
cd react-strict-dom

If using a fork, add an upstream remote that points to the facebook/react-strict-dom repo so that the fork can be kept up-to-date with upstream changes.

git remote add upstream git@github.com:facebook/react-strict-dom.git