Q. How do you navigate programmatically in React Router v6?

आप रिएक्ट राउटर v6 में प्रोग्रामेटिक रूप से कैसे नेविगेट करते हैं?

A
useHistory().push('/path')
B
useNavigate()('/path')
C
navigateTo('/path')
D
redirect('/path')

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