Skip to content

Commit e107bd9

Browse files
joshuaellismpeyper
andauthored
docs: Update README.md with suggestion
Co-authored-by: Michael Peyper <mpeyper7@gmail.com>
1 parent 7481d77 commit e107bd9

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,11 @@ npm install --save-dev @testing-library/react-hooks
145145
[`react`](https://www.npmjs.com/package/react) to allow you to install the specific version you want
146146
to test against. It also does not come installed with a specific renderer, we currently support
147147
[`react-test-renderer`](https://www.npmjs.com/package/react-test-renderer) and
148-
[`react-dom`](https://www.npmjs.com/package/react-dom), you only need to install one of them.
149-
However,you can install both, but `react-test-renderer` is the default, for more information see the
150-
[installation docs](https://react-hooks-testing-library.com/#installation). Generally, the installed
151-
versions for `react` and the selected renderer should have matching versions:
148+
[`react-dom`](https://www.npmjs.com/package/react-dom). You only need to install one of them,
149+
however, if you do have both installed, we will use `react-test-renderer` as the default. For more
150+
information see the [installation docs](https://react-hooks-testing-library.com/#installation).
151+
Generally, the installed versions for `react` and the selected renderer should have matching
152+
versions:
152153

153154
```sh
154155
npm install react@^16.9.0

0 commit comments

Comments
 (0)