React JS - render Life Cycle Method

 

React Life Cycle Methods











render() is used to output the HTML to the DOM.

render() comes under Mounting and Updating phases. It means it is called when :

  • Component is loaded
  • State/Props is updated


Comments