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.
One-On-One Questions or Comments?
Something not making sense, want to share your thoughts or just say hello? I check this daily!