Life cycle stages and methods of React components.