Skip to content

Commit

Permalink
Update info on versions
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Apr 12, 2017
1 parent 59a4a77 commit 28d6722
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Expand Up @@ -42,22 +42,24 @@ For example:

```js
"dependencies": {
"prop-types": "^15.5.0"
"prop-types": "^15.5.7"
}
```

For libraries, we *also* recommend leaving it in `dependencies`:

```js
"dependencies": {
"prop-types": "^15.5.0"
"prop-types": "^15.5.7"
},
"peerDependencies": {
"react": "^15.5.0"
}
```

Just make sure that the version range uses a caret (`^`) and thus is broad enough for npm to efficiently deduplicate packages.
**Note:** there are known issues in versions before 15.5.7 so we recommend using it as the minimal version.

Make sure that the version range uses a caret (`^`) and thus is broad enough for npm to efficiently deduplicate packages.

## Compatibility

Expand Down

0 comments on commit 28d6722

Please sign in to comment.