react-bootstrap-table2 icon indicating copy to clipboard operation
react-bootstrap-table2 copied to clipboard

Update react-transition-group dependency

Open llemaitre19 opened this issue 6 years ago • 4 comments

react-bootstrap-table-next depends on a old version of react-transition-group (2.5.3) that triggers a react deprecation warning :

Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

Please update the following components: Transition

So a nice improvement would be to update react-transition-group to its last version in the next release.

Thanks

llemaitre19 avatar Feb 17 '20 13:02 llemaitre19

@Moki-19 please update all the packaged to newest https://react-bootstrap-table.github.io/react-bootstrap-table2/blog/2020/03/07/version-bump.html

AllenFang avatar Mar 07 '20 07:03 AllenFang

@AllenFang could you please upgrade react-transition-group to the newest (4.4.2 I think) because 4.2.0 still trigger a react deprecation warning

hauhuynh1208 avatar May 29 '20 10:05 hauhuynh1208

@AllenFang I have the same issue, any updates on this?

junreyd avatar Aug 28 '20 07:08 junreyd

@AllenFang please update react-transition-group package

itsmepetrov avatar Dec 08 '20 14:12 itsmepetrov