You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deprecated lifecycle method warnings with React 16.9 #67
The following warning is shown upon upgrading to React 16.9.0:
Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks 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: Animate
Reacted by tintomatic, flojoho, Dmitriy Balashov, Eduardo Ludi, Patrick Schubert, Ruslan Yurchenko, Dmytro Izotov, Tom Honig, Mateo Murphy, Rick Zhou and 3 more
Any roadmap on this? We are currently updating to the newest version of antd - I guess when React 17 releases antd will be ready and not use any deprecated lifecycle hooks anymore?! 😄
antd v4 using rc-animate/CSSMotion instead of rc-animate/Animate. All related react component will be updated. You can check progress here: ant-design/ant-design#19169
Reacted by Nicholas DeTore, Arnaud Benhamdine and J03L R0J0
Activity
Twisterking commentedon Aug 28, 2019
Any roadmap on this? We are currently updating to the newest version of antd - I guess when React 17 releases antd will be ready and not use any deprecated lifecycle hooks anymore?! 😄
Dizotoff commentedon Aug 29, 2019
@Twisterking I'm utilizing rc-tooltip component which uses rc-animate. When I click the tooltip, a warning appears.
sunsetninja commentedon Sep 4, 2019
Any update for this, guys?
zombieJ commentedon Oct 17, 2019
antd v4 using
rc-animate/CSSMotioninstead ofrc-animate/Animate. All related react component will be updated. You can check progress here: ant-design/ant-design#19169Indigo744 commentedon Nov 4, 2019
@zombieJ and what about AntD mobile?