When a React component is mounting / initializing the following life-cycle methods are invoked in the specified order.
constructor()
static getDerivedStateFromProps()
render()
componentDidMount()
constructor()
static getDerivedStateFromProps()
render()
componentDidMount()
No comments:
Post a Comment