Which lifecycle method is called before the component is mounted to the DOM?
componentDidMount()
componentWillMount()
constructor()
render()
This question is part of this quiz :