diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md
index 6534403d..0739380f 100644
--- a/.github/CONTRIBUTING.md
+++ b/.github/CONTRIBUTING.md
@@ -52,7 +52,7 @@ npm run precommit
## Coding standards
Our code formatting rules are defined in
-[.eslintrc](https://github.com/final-form/react-final-form/blob/master/.eslintrc).
+[.eslintrc](https://github.com/final-form/react-final-form/blob/main/.eslintrc).
You can check your code against these standards by running:
```sh
diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index e5cd6cf0..754e958d 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -21,6 +21,6 @@ Please format the code before submitting your pull request by running:
npm run precommit
```
-https://github.com/final-form/react-final-form/blob/master/.github/CONTRIBUTING.md
+https://github.com/final-form/react-final-form/blob/main/.github/CONTRIBUTING.md
-->
diff --git a/.travis.yml b/.travis.yml
index 93ba8100..f5add65b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -17,4 +17,4 @@ after_success:
- npx codecov
branches:
only:
- - master
+ - main
diff --git a/README.md b/README.md
index add1c179..06e58866 100644
--- a/README.md
+++ b/README.md
@@ -12,8 +12,8 @@
[](#backers) [](#sponsors) [](https://www.npmjs.com/package/react-final-form)
[](https://www.npmjs.com/package/react-final-form)
-[](https://travis-ci.org/final-form/react-final-form)
-[](https://codecov.io/gh/final-form/react-final-form)
+[](https://travis-ci.org/final-form/react-final-form)
+[](https://codecov.io/gh/final-form/react-final-form)
[](https://github.com/prettier/prettier)
✅ Zero dependencies (that affect your bundle size)
diff --git a/docs/examples.md b/docs/examples.md
index aeb066b6..219a199d 100644
--- a/docs/examples.md
+++ b/docs/examples.md
@@ -4,7 +4,7 @@
---
-Wanna help? We need to migrate all of these examples from CodeSandbox to [here](https://github.com/final-form/react-final-form/tree/master/examples). PRs to help with that process would be greatly appreciated. 🙏
+Wanna help? We need to migrate all of these examples from CodeSandbox to [here](https://github.com/final-form/react-final-form/tree/main/examples). PRs to help with that process would be greatly appreciated. 🙏
---
diff --git a/docs/examples/chakra.md b/docs/examples/chakra.md
index 39e0cffc..ad53d196 100644
--- a/docs/examples/chakra.md
+++ b/docs/examples/chakra.md
@@ -4,4 +4,4 @@
Demonstrates how to use [Chakra UI](https://chakra-ui.com) components with React Final Form.
-[](https://codesandbox.io/s/github/final-form/react-final-form/tree/master/examples/chakra)
+[](https://codesandbox.io/s/github/final-form/react-final-form/tree/main/examples/chakra)
diff --git a/docs/examples/field-level-validation.md b/docs/examples/field-level-validation.md
index a8a44bc1..7559b851 100644
--- a/docs/examples/field-level-validation.md
+++ b/docs/examples/field-level-validation.md
@@ -4,4 +4,4 @@
Introduces field-level validation functions and demonstrates how to display errors next to fields using child render functions.
-[](https://codesandbox.io/s/github/final-form/react-final-form/tree/master/examples/field-level-validation)
+[](https://codesandbox.io/s/github/final-form/react-final-form/tree/main/examples/field-level-validation)
diff --git a/docs/examples/record-level-validation.md b/docs/examples/record-level-validation.md
index 8a22388d..d1c3a0c1 100644
--- a/docs/examples/record-level-validation.md
+++ b/docs/examples/record-level-validation.md
@@ -4,4 +4,4 @@
Introduces a whole-record validation function and demonstrates how to display errors next to fields using child render functions.
-[](https://codesandbox.io/s/github/final-form/react-final-form/tree/master/examples/record-level-validation)
+[](https://codesandbox.io/s/github/final-form/react-final-form/tree/main/examples/record-level-validation)
diff --git a/docs/examples/simple.md b/docs/examples/simple.md
index 7463c27b..368168ea 100644
--- a/docs/examples/simple.md
+++ b/docs/examples/simple.md
@@ -4,4 +4,4 @@
Uses the built-in React inputs: input, select, and textarea to build a form with no validation.
-[](https://codesandbox.io/s/github/final-form/react-final-form/tree/master/examples/simple)
+[](https://codesandbox.io/s/github/final-form/react-final-form/tree/main/examples/simple)
diff --git a/docs/examples/submission-errors.md b/docs/examples/submission-errors.md
index ccbb63b4..c2e20d9f 100644
--- a/docs/examples/submission-errors.md
+++ b/docs/examples/submission-errors.md
@@ -4,4 +4,4 @@
Demonstrates how to return submission errors from failed submits. Notice that the `Promise` should _resolve_ to the submission error (not reject). Rejection is reserved for communications or server exceptions.
-[](https://codesandbox.io/s/github/final-form/react-final-form/tree/master/examples/submission-errors)
+[](https://codesandbox.io/s/github/final-form/react-final-form/tree/main/examples/submission-errors)
diff --git a/docs/examples/subscriptions.md b/docs/examples/subscriptions.md
index 8d754f61..07b213e0 100644
--- a/docs/examples/subscriptions.md
+++ b/docs/examples/subscriptions.md
@@ -4,4 +4,4 @@
Demonstrates how, by restricting which parts of form state the form component needs to render, it reduces the number of times the whole form has to rerender. Yet, if some part of form state is needed inside of it, the [`