---
title: "Discussion on \"How to Use React Router Dom as Pro\" | Hashnode"
description: "Discussion on \"How to Use React Router Dom as Pro\". Are you really managing it in a Best way?"
url: "https://hashnode.com/posts/how-to-use-react-router-dom-as-pro/614e375f05ebd95c9caeda1d"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to Use React Router Dom as Pro](https://full-stack-dev.hashnode.dev/how-to-use-react-router-dom-as-pro?utm_source=hashnode&utm_medium=feed)

Are you really managing it in a Best way?

Sep 24, 2021 · 2 min read · full-stack-dev.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#react-router](https://hashnode.com/tag/react-router)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)

## Written by

[akash gupta](https://hashnode.com/@full-stack-dev)

@full-stack-dev

  
[View profile](https://hashnode.com/@full-stack-dev)

Full Stack Developer | @angular | @nestjs | @mongodb | @neo4j | @graphql | @ionic | @expressjs | @flutter | @react-native

## Responses 3

Markdown supported · ⌘↵ to post

[Mohith Gupta Korangi](https://hashnode.com/@YouKnowWho)

[Sep 26, 2021](https://hashnode.com/posts/how-to-use-react-router-dom-as-pro/614e375f05ebd95c9caeda1d/comment/6150979d7ef2d57e218f10f0)

Look at the preview and make changes to your article before publishing it. Many asterisks are present in the routes of the article which might confuse a beginner. Otherwise, the article is good....Also, can you explain what "urlcat" does?

[akash gupta](https://hashnode.com/@full-stack-dev)

[Sep 26, 2021](https://hashnode.com/posts/how-to-use-react-router-dom-as-pro/614e375f05ebd95c9caeda1d/comment/6150979d7ef2d57e218f10f0#reply-61509caa7ef2d57e218f1164)

urlcat used to build url from endpoint and params.

[github.com/balazsbotond/urlcat](https://github.com/balazsbotond/urlcat)

[Joshua Uchenna Amaju](https://hashnode.com/@joshuaamaju)

[Sep 25, 2021](https://hashnode.com/posts/how-to-use-react-router-dom-as-pro/614e375f05ebd95c9caeda1d/comment/614f6dec7ef2d57e218efaeb)

I think this would work fine on small applications, but would it scale well as your application gets complex?

[akash gupta](https://hashnode.com/@full-stack-dev)

[Sep 25, 2021](https://hashnode.com/posts/how-to-use-react-router-dom-as-pro/614e375f05ebd95c9caeda1d/comment/614f6dec7ef2d57e218efaeb#reply-614fb4e894bb297e1aad7681)

Instead it will help when you scale your project. Routing will be managed in once place instead of scattered all over the pages.

Complexity came into existence when we or other can't understand the written code so above approach will help you to make it more clean.

[Joshua Uchenna Amaju](https://hashnode.com/@joshuaamaju)

[Sep 26, 2021](https://hashnode.com/posts/how-to-use-react-router-dom-as-pro/614e375f05ebd95c9caeda1d/comment/614f6dec7ef2d57e218efaeb#reply-615063827ef2d57e218f0c2b)

[akash gupta](https://hashnode.com/@full-stack-dev) I think you might have a function (hook) that does/knows too many things, but I might be wrong on that. 👍🏽

[Yogesh Chavan](https://hashnode.com/@myogeshchavan97)

[Sep 25, 2021](https://hashnode.com/posts/how-to-use-react-router-dom-as-pro/614e375f05ebd95c9caeda1d/comment/614ece2a7ef2d57e218eebfe)

Nice article 👍
