A

Admin • 802.91K Points
Coach

Q. Which lifecycle method is invoked immediately after a component is mounted?

  • (A) componentWillMount
  • (B) componentDidMount
  • (C) componentDidUpdate
  • (D) componentWillUpdate
  • Correct Answer - Option(B)
  • Views: 10
  • Filed under category React JS
  • Hashtags:

Explanation by: Admin
componentDidMount is called immediately after the component is mounted.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.