Subscribe to Evented Mind to watch the full video.

Already have an Evented Mind subscription?

Subscribe to Evented Mind to watch the full video.

Need a second look? Watch again

Getting Started With React

Lifecycle Methods

Lifecycle methods let us run some code at certain times in a component's lifecycle. For example, you can use the componentDidMount method to run some code after a component has been mounted in the DOM. In this lesson yo'll use the componentDidMount method to dynamically load comments from the server using AJAX.

  • React
Join the Discussion

Want to leave a comment? .