Getting Started with React by Doel Sengupta & Manu Singhal & Danillo Corvalan

Getting Started with React by Doel Sengupta & Manu Singhal & Danillo Corvalan

Author:Doel Sengupta & Manu Singhal & Danillo Corvalan [Sengupta, Doel]
Language: eng
Format: azw3
Publisher: Packt Publishing
Published: 2016-04-29T04:00:00+00:00


React component lifecycle

As per Facebook's React documentation from http://facebook.github.io/react/docs/working-with-the-browser.html, the React component lifecycle can be broadly classified into three categories as follows:

"Mounting: A component is being inserted into the DOM.

Updating: A component is being re-rendered to determine if the DOM should be updated.

Unmounting: A component is being removed from the DOM."

React provides lifecycle methods that you can specify to hook into this process. We provide will methods, which are called right before something happens, and did methods which are called right after something happens.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.