File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 100
100
"prettier-stylelint" : " ^0.4.2" ,
101
101
"prop-types" : " ^15.6.0" ,
102
102
"raw-loader" : " ^0.5.1" ,
103
- "react" : " ^16.0 .0" ,
103
+ "react" : " ^16.3 .0" ,
104
104
"react-dom" : " ^16.0.0" ,
105
105
"react-story" : " ^0.0.10" ,
106
106
"rimraf" : " ^2.6.1" ,
116
116
"why-did-you-update" : " ^0.1.1"
117
117
},
118
118
"peerDependencies" : {
119
- "react" : " ^16.0 .0 || ^17"
119
+ "react" : " ^16.3 .0 || ^17 || ^18 "
120
120
},
121
121
"ava" : {
122
122
"files" : [
Original file line number Diff line number Diff line change @@ -106,15 +106,15 @@ class DropdownTreeSelect extends Component {
106
106
}
107
107
}
108
108
109
- componentWillMount ( ) {
109
+ UNSAFE_componentWillMount ( ) {
110
110
this . initNewProps ( this . props )
111
111
}
112
112
113
113
componentWillUnmount ( ) {
114
114
document . removeEventListener ( 'click' , this . handleOutsideClick , false )
115
115
}
116
116
117
- componentWillReceiveProps ( nextProps ) {
117
+ UNSAFE_componentWillReceiveProps ( nextProps ) {
118
118
this . initNewProps ( nextProps )
119
119
}
120
120
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ class Tree extends Component {
38
38
}
39
39
}
40
40
41
- componentWillReceiveProps = nextProps => {
41
+ UNSAFE_componentWillReceiveProps = nextProps => {
42
42
const { activeDescendant } = nextProps
43
43
const hasSameActiveDescendant = activeDescendant === this . props . activeDescendant
44
44
this . computeInstanceProps ( nextProps , ! hasSameActiveDescendant )
Original file line number Diff line number Diff line change @@ -9850,7 +9850,7 @@ react-test-renderer@^16.0.0-0:
9850
9850
react-is "^16.8.6"
9851
9851
scheduler "^0.13.6"
9852
9852
9853
- react@^16.0 .0 :
9853
+ react@^16.3 .0 :
9854
9854
version "16.8.6"
9855
9855
resolved "https://registry.yarnpkg.com/react/-/react-16.8.6.tgz#ad6c3a9614fd3a4e9ef51117f54d888da01f2bbe"
9856
9856
dependencies :
You can’t perform that action at this time.
0 commit comments