Q. How do you modify state in a class component?

आप क्लास घटक में स्थिति को कैसे संशोधित करते हैं?

A
this.state = {}
B
this.setState({})
C
useState({})
D
state.modify({})

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