Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

what is react mounting

React has four built-in methods that gets called, 
  in this order, when mounting a component:

constructor()
getDerivedStateFromProps()
render()
componentDidMount()
The render() method is required and will always be called, the 
others are optional and will be called if you define them.
 
PREVIOUS NEXT
Tagged: #react #mounting
ADD COMMENT
Topic
Name
9+2 =