Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

依赖的react-native-swipeout不维护了,麻烦处理下 #931

Closed
1 task
divinghero opened this issue Jun 16, 2020 · 1 comment
Closed
1 task

依赖的react-native-swipeout不维护了,麻烦处理下 #931

divinghero opened this issue Jun 16, 2020 · 1 comment

Comments

@divinghero
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

http://none.com

Steps to reproduce

What is expected?

不报警告:
YellowBox.js:71 Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

  • Move code with side effects to componentDidMount, and set initial state in the constructor.
  • Rename componentWillMount to UNSAFE_componentWillMount 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: Swipeout

What is actually happening?

报警告

Environment Info
antd 4.0.0
React 16.9.0 / 0.61.5
System Mac 10.15.4 (19E287)
Browser Chrome
@BANG88
Copy link
Member

BANG88 commented Jun 17, 2020

下个版本 重构一下这个滑动的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants