Q. What is the best way to reset a form in React?

रिएक्ट में किसी फॉर्म को रीसेट करने का सबसे अच्छा तरीका क्या है?

A
Using setState({})
B
Calling form.reset()
C
Setting state values to an initial state
D
Refreshing the page

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