user image

Preeti Tripathi

Job Interview Skills
English
2 years ago

44. Why is a Router necessary in React?

user image

Abhishek Mishra

2 years ago

When a user types a certain URL, the router checks to see whether the URL matches the path of any of the "routes" it has specified, and if it does, the user is forwarded to that particular route. Therefore, in order to add numerous routes, each of which leads to a different view, to our project, we need to install a Router library.

Recent Doubts

Close [x]