Q. What is the equivalent of componentDidMount() in functional components?

कार्यात्मक घटकों में कंपोनेंटडिडमाउंट() के समतुल्य क्या है?

A
useEffect() with an empty dependency array
B
useState()
C
componentDidMount()
D
useEffect() without dependencies

Explanation

Explanation will be available soon. Please stay tuned.

व्याख्या जल्द ही उपलब्ध होगी। कृपया बने रहें।

Invest in Future Achievers

Your support helps keep Exam Achiever 100% free for students preparing for exams.

Thanks for your support!

Comments

Leave a Comment