31) Explain the lifecycle methods of React components in detail. The important React lifecycle methods are: getInitialState (): It is used to specify the default value of this.state. It is executed before the creation of the component. componentWillMount (): It is executed before a component gets rendered into the DOM.
2008 chevy malibu oil life reset