Closed Ishaan28malik closed 4 years ago
Instead of componentWillMount, use a constructor for the stuff that doesn't produce side-effects, and use componentDidMount for the stuff that does.
Updated componentWillMount which is deprecated in the following react version
Description : Updated with componentDidMount
Instead of componentWillMount, use a constructor for the stuff that doesn't produce side-effects, and use componentDidMount for the stuff that does.
Updated componentWillMount which is deprecated in the following react version
Please ensure Checkmark the following :