Tell us what’s happening:
Describe your issue in detail here.
**Your code so far**
class MyComponent extends React.Component {
constructor(props) {
super(props);
}
componentWillMount() {
// Change code below this line
componentDidMount() {
console.log('Component being mounted');
}
// Change code above this line
}
render() {
return <div />
}
};
**Your browser information:**
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
Challenge: Use the Lifecycle Method componentWillMount
Link to the challenge:
