Q. How do you create a protected route in React Router?

आप रिएक्ट राउटर में संरक्षित मार्ग कैसे बनाते हैं?

A
By using a higher-order component (HOC)
B
By wrapping it with
C
By using the auth prop in
D
By checking authentication inside the component

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