react-native-pure-chart icon indicating copy to clipboard operation
react-native-pure-chart copied to clipboard

Update to use new lifecycle method

Open phapdinh opened this issue 5 years ago • 1 comments

React has changed their lifecycle methods to this https://reactjs.org/docs/react-component.html. There is a warning being thrown when you are using old lifecycle methods

phapdinh avatar Aug 29 '19 21:08 phapdinh

You can rename the usage of componentWillReceiveProps to UNSAFE_componentWillReceiveProps to stop the warning but obviously a fix which used a supported lifestyle method (or a refactor to functional code) would be better.

spewarren avatar May 20 '20 15:05 spewarren