Commit 2c864e4
chore: react-sdk | downgrading react peer dependency | react 18.0.0 -> 16.8.0 (#742)
## This PR fix the npm warning when installing @openfeature/react-sdk in
application using react version < 18
| Package | Change | Passing | Confidence |
|-----------|----------|-----------|--------------|
| [react](https://github.com/facebook/react) |
[18.0.0](https://github.com/facebook/react/releases/tag/v18.0.0) ->
[16.8.0](https://github.com/facebook/react/releases/tag/v16.8.0) | True
| High |
Fixes #741
### How to test
1. create a react project using react 16.8.0, node 14, npm 6.X.X
2. install @openfeature/react-sdk
3. Observe no install warning
4. use `useFeatureFlag` in application as per documentation with no
issue.
Signed-off-by: Shujaat Ali <[email protected]>
Co-authored-by: Todd Baert <[email protected]>1 parent 58cac6c commit 2c864e4
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
0 commit comments