From 6a512d4b7d7f744cb34277ed8b1dec8b93b3df6d Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Sun, 9 Apr 2017 03:14:43 +0100 Subject: [PATCH] Mention compat version of transition-group so we can delete those docs --- addons/react-addons-css-transition-group/README.md | 4 +++- addons/react-addons-transition-group/README.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/addons/react-addons-css-transition-group/README.md b/addons/react-addons-css-transition-group/README.md index 6ef18d9b8a8e4..9e9a23efe76a0 100644 --- a/addons/react-addons-css-transition-group/README.md +++ b/addons/react-addons-css-transition-group/README.md @@ -1,3 +1,5 @@ # react-addons-css-transition-group -This package is deprecated and will no longer work with React 16+. We recommend you use `CSSTransitionGroup` from [`react-transition-group`](https://github.com/reactjs/react-transition-group) instead. \ No newline at end of file +This package is deprecated and will no longer work with React 16+. We recommend you use `CSSTransitionGroup` from [`react-transition-group`](https://github.com/reactjs/react-transition-group) instead. + +In particular, its version `1.1.1` is a drop-in replacement for the last released version of `react-addons-css-transition-group`. You can install `react-transition-group@1.1.1` on npm, and replace its imports with `react-transition-group/CSSTransitionGroup` to migrate. The documentation branch for that version [can be found here](https://github.com/reactjs/react-transition-group/tree/v1.1.1#high-level-api-csstransitiongroup). diff --git a/addons/react-addons-transition-group/README.md b/addons/react-addons-transition-group/README.md index 37dcb6874b7f2..e8c2df1d113b8 100644 --- a/addons/react-addons-transition-group/README.md +++ b/addons/react-addons-transition-group/README.md @@ -1,3 +1,5 @@ # react-addons-transition-group -This package is deprecated and will no longer work with React 16+. We recommend you use `TransitionGroup` from [`react-transition-group`](https://github.com/reactjs/react-transition-group) instead. \ No newline at end of file +This package is deprecated and will no longer work with React 16+. We recommend you use `TransitionGroup` from [`react-transition-group`](https://github.com/reactjs/react-transition-group) instead. + +In particular, its version `1.1.1` is a drop-in replacement for the last released version of `react-addons-transition-group`. You can install `react-transition-group@1.1.1` on npm, and replace its imports with `react-transition-group/TransitionGroup` to migrate. The documentation branch for that version [can be found here](https://github.com/reactjs/react-transition-group/tree/v1.1.1#low-level-api-transitiongroup).