Skip to content

Commit 8f68e9d

Browse files
aquerrecQuerrec Arnaudguillame33
authored
Upgrade react peer dependency to v17 (#10)
* Upgrade react peer dependency to v17 * Update README.md Co-authored-by: Querrec Arnaud <a.querrec@lectra.com> Co-authored-by: Guillaume Dumora <gdumora@gmail.com>
1 parent 7160367 commit 8f68e9d

3 files changed

Lines changed: 9 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import FlagsConsumer from "./src/FlagsConsumer";
33
# Changelog
44
All notable changes to this project are documented in this file.
55

6+
## [1.1.0] - 2020-11-30
7+
This release allows you to use ld-react-feature-flags with React 17 without a warning when installing.
8+
69
## [1.0.39] - 2020-10-20
710
### Add
811
- Add type definition for user custom object

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
99
## Install
1010

11-
This project depends on React v16.3.0+
11+
This project requires **React 16.3.0 or later**.
12+
13+
To use ld-react-feature-flags with your React app, install it as a dependency:
1214

1315
```bash
1416
npm install @lectra/ld-react-feature-flags

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lectra/ld-react-feature-flags",
3-
"version": "1.0.39",
3+
"version": "1.1.0",
44
"description": "Integrate Launch Darkly in your React app in a breeze",
55
"contributors": [
66
{
@@ -37,8 +37,8 @@
3737
},
3838
"peerDependencies": {
3939
"prop-types": "^15.6.2",
40-
"react": "^16.3.0",
41-
"react-dom": "^16.3.0"
40+
"react": "^16.3.0 || ^17",
41+
"react-dom": "^16.3.0 || ^17"
4242
},
4343
"devDependencies": {
4444
"@types/react": "^16.9.23",

0 commit comments

Comments
 (0)