Q. Why do we use bind(this) in event handlers in class components?

हम क्लास घटकों में इवेंट हैंडलर में बाइंड (यह) का उपयोग क्यों करते हैं?

A
To create a new function every time
B
To keep this context intact
C
To optimize rendering
D
To pass event arguments

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