Skip to content

Commit

Permalink
Removes peer dependencies and updates docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlplusb committed Aug 23, 2021
1 parent 9e5e77c commit bb1c4e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,15 @@ Check out a working demo here: https://4mkpc.csb.app/

## Installation

```javascript
Firstly, ensure you have the required peer dependencies:

```bash
npm install react react-dom
```

> **Note:** We require >=react@0.14.0 and >=react-dom@0.14.0
```bash
npm install react-sizeme
```

Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
"shallowequal": "^1.1.0",
"throttle-debounce": "^3.0.1"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0-0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^0.14.0 || ^15.0.0-0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@babel/cli": "^7.14.8",
"@babel/core": "^7.15.0",
Expand Down

0 comments on commit bb1c4e1

Please sign in to comment.