Skip to content

Commit 045d802

Browse files
committed
reverted change to peerDependencies and todo comment
1 parent 120cf34 commit 045d802

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
"timers": "fake"
3939
},
4040
"peerDependencies": {
41-
"react": ">=15.0.0",
42-
"react-dom": ">=15.0.0"
41+
"react": "^15.0.0 || ^16.0.0",
42+
"react-dom": "^15.0.0 || ^16.0.0"
4343
},
4444
"dependencies": {
4545
"chain-function": "^1.0.0",

src/TransitionGroup.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ class TransitionGroup extends React.Component {
7676
}
7777
}
7878

79+
// If we want to someday check for reordering, we could do it here.
80+
7981
let keysToEnter = this.keysToEnter;
8082
this.keysToEnter = [];
8183
keysToEnter.forEach(key => this.performEnter(key, this.childRefs[key]));

0 commit comments

Comments
 (0)