# \#react-router

**URL:** https://community.developer.atlassian.com/tag/react-router/1124.md

[Latest](https://community.developer.atlassian.com/latest.md) · [Categories](https://community.developer.atlassian.com/categories.md) · [Tags](https://community.developer.atlassian.com/tags.md)

---

## [How to use TanStack router as an alternative to react-router?](https://community.developer.atlassian.com/t/how-to-use-tanstack-router-as-an-alternative-to-react-router/75924)

<div class="topic-metadata">

**Author:** [@JozefBro](https://community.developer.atlassian.com/u/JozefBro)\
**Replies:** 3\
**Last updated:** [October 3, 2025, 9:00am UTC](https://community.developer.atlassian.com/t/how-to-use-tanstack-router-as-an-alternative-to-react-router/75924 "2025-10-03T09:00:24Z")

</div>

Hi, I would like to use the tanstack router in our custom UI global page app. Do you have any ideas on how to integrate it with the history from forge/bridge?

---

## [Does UI Kit 2 support custom URL routing with react-router?](https://community.developer.atlassian.com/t/does-ui-kit-2-support-custom-url-routing-with-react-router/71051)

<div class="topic-metadata">

**Author:** [@IgorAndriushchenkp](https://community.developer.atlassian.com/u/IgorAndriushchenkp)\
**Replies:** 1\
**Last updated:** [March 16, 2025, 11:01pm UTC](https://community.developer.atlassian.com/t/does-ui-kit-2-support-custom-url-routing-with-react-router/71051 "2025-03-16T23:01:58Z")

</div>

Custom UI does support it but there’s no information if it would work with UI Kit 2. Thanks!

---

## [Router doesn't work](https://community.developer.atlassian.com/t/router-doesnt-work/83186)

<div class="topic-metadata">

**Author:** [@saidkouzibry](https://community.developer.atlassian.com/u/saidkouzibry)\
**Replies:** 1\
**Last updated:** [September 18, 2024, 7:46am UTC](https://community.developer.atlassian.com/t/router-doesnt-work/83186 "2024-09-18T07:46:27Z")

</div>

I am trying to present the user with different Globale pages to do different categories of actions. as a test, I want to show two pages, one for /home and one for /. When I try to open any of the pages, I get a blank pa…

---

## [How to link directly certain parts of the app with Forge React Routing?](https://community.developer.atlassian.com/t/how-to-link-directly-certain-parts-of-the-app-with-forge-react-routing/80032)

<div class="topic-metadata">

**Author:** [@lassenza](https://community.developer.atlassian.com/u/lassenza)\
**Replies:** 0\
**Last updated:** [May 16, 2024, 3:01pm UTC](https://community.developer.atlassian.com/t/how-to-link-directly-certain-parts-of-the-app-with-forge-react-routing/80032 "2024-05-16T15:01:20Z")

</div>

Hello, I’m trying to add routing to our Confluence Forge app (we use the globalPage module). I have followed the example that is provided in the documentation: Add routing to a custom UI full page app. So, routing all…

---

## [Support for opening in-app project-page in new tab using In react router (Error: SignatureDoesNotMatch)](https://community.developer.atlassian.com/t/support-for-opening-in-app-project-page-in-new-tab-using-in-react-router-error-signaturedoesnotmatch/72661)

<div class="topic-metadata">

**Author:** [@SudharshanArunagirin](https://community.developer.atlassian.com/u/SudharshanArunagirin)\
**Replies:** 0\
**Last updated:** [September 7, 2023, 9:20am UTC](https://community.developer.atlassian.com/t/support-for-opening-in-app-project-page-in-new-tab-using-in-react-router-error-signaturedoesnotmatch/72661 "2023-09-07T09:20:58Z")

</div>

Hi, In the Custom UI forge app, I have implemented project page routing following the documentation. When opening the project page in the same tab using the navigate function from react-router it works fine but when ope…

---

## [Redirect or button redirect in UI Kit](https://community.developer.atlassian.com/t/redirect-or-button-redirect-in-ui-kit/46426)

<div class="topic-metadata">

**Author:** [@GbemiKadri](https://community.developer.atlassian.com/u/GbemiKadri)\
**Replies:** 6\
**Last updated:** [August 4, 2023, 4:58pm UTC](https://community.developer.atlassian.com/t/redirect-or-button-redirect-in-ui-kit/46426 "2023-08-04T16:58:25Z")

</div>

Please, I want to add a redirect to button UI kit is this possible? I have tried but I can’t see any option.

---

## [React-router within Atlassian Connect App](https://community.developer.atlassian.com/t/react-router-within-atlassian-connect-app/71254)

<div class="topic-metadata">

**Author:** [@divineengineering](https://community.developer.atlassian.com/u/divineengineering)\
**Replies:** 0\
**Last updated:** [July 17, 2023, 12:46pm UTC](https://community.developer.atlassian.com/t/react-router-within-atlassian-connect-app/71254 "2023-07-17T12:46:58Z")

</div>

I have successfully managed to use react-router in my React based Atlassian Connect app. The navigation works as intended. However, since only the iframe URL changes, whenever you reload the site, the navigation for the …

---

## [Need help in enabling routing for global page](https://community.developer.atlassian.com/t/need-help-in-enabling-routing-for-global-page/69772)

<div class="topic-metadata">

**Author:** [@MohanSai](https://community.developer.atlassian.com/u/MohanSai)\
**Replies:** 3\
**Last updated:** [June 6, 2023, 12:22am UTC](https://community.developer.atlassian.com/t/need-help-in-enabling-routing-for-global-page/69772 "2023-06-06T00:22:18Z")

</div>

My app uses the Global page module. From the Global Page document, I can see we can use the sub-pages. When I updated the manifest.yml file with pages options by default it gave the side navigation For my app, I am usi…

---

## [Issue in @forge/bridge router.open method](https://community.developer.atlassian.com/t/issue-in-forge-bridge-router-open-method/67567)

<div class="topic-metadata">

**Author:** [@HelloWorld](https://community.developer.atlassian.com/u/HelloWorld)\
**Replies:** 1\
**Last updated:** [March 19, 2023, 2:36pm UTC](https://community.developer.atlassian.com/t/issue-in-forge-bridge-router-open-method/67567 "2023-03-19T14:36:11Z")

</div>

Hi, I’m kind of new to forge development and trying to use @forge/bridge router.open(https://google.com) method to open a new window. However, every time in forge deploy it throws an error in the snapshot stage Error: Er…

---

## [Forge createHistory Api and react-router-dom compatibility](https://community.developer.atlassian.com/t/forge-createhistory-api-and-react-router-dom-compatibility/55529)

<div class="topic-metadata">

**Author:** [@hb12devtn](https://community.developer.atlassian.com/u/hb12devtn)\
**Replies:** 2\
**Last updated:** [February 1, 2022, 8:08am UTC](https://community.developer.atlassian.com/t/forge-createhistory-api-and-react-router-dom-compatibility/55529 "2022-02-01T08:08:13Z")

</div>

following this tutorial Add routing to a custom UI full page app , when I use useLocation to get the state, the state is always null: function Link({ to, children }) { const navigate = useNavigate(); return ( …

---

## [Open link in new tab or same page (not iframe) with router.navigate() doesn't work in Forge Custom UI App](https://community.developer.atlassian.com/t/open-link-in-new-tab-or-same-page-not-iframe-with-router-navigate-doesnt-work-in-forge-custom-ui-app/53185)

<div class="topic-metadata">

**Author:** [@hauke.hoerhold](https://community.developer.atlassian.com/u/hauke.hoerhold)\
**Replies:** 1\
**Last updated:** [November 2, 2021, 9:56am UTC](https://community.developer.atlassian.com/t/open-link-in-new-tab-or-same-page-not-iframe-with-router-navigate-doesnt-work-in-forge-custom-ui-app/53185 "2021-11-02T09:56:29Z")

</div>

I have a Forge App where I pass some HTML with a link to my Custom UI. By using a React.createRef() its possible to put that passed HTML with the link into the table where it gets displayed. The passed link looks like t…
