Q. What happens when you use setState inside an event handler?

जब आप किसी इवेंट हैंडलर के अंदर सेटस्टेट का उपयोग करते हैं तो क्या होता है?

A
State updates synchronously
B
State updates asynchronously
C
The component crashes
D
The event is ignored

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