Q. What is the difference between onClick={handleClick()} and onClick={handleClick}?

ऑनक्लिक={हैंडलक्लिक()} और ऑनक्लिक={हैंडलक्लिक} के बीच क्या अंतर है?

A
Both work the same
B
The first one executes immediately
C
The second one executes on click
D
The first one is required for functional components

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