Merge pull request #14165 from backstage/rugvip/basename

core: switch to using built-in base path in React Router v6 stable
This commit is contained in:
Patrik Oldsberg
2022-10-21 19:42:22 +02:00
committed by GitHub
11 changed files with 303 additions and 64 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-app-api': minor
---
Updated the React Router wiring to make use of the new `basename` property of the router components in React Router v6 stable. To implement this, a new optional `basename` property has been added to the `Router` app component, which can be forwarded to the concrete router implementation in order to support this new behavior. This is done by default in any app that does not have a `Router` component override.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-plugin-api': minor
---
The app `Router` component now accepts an optional `basename` property.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-components': patch
---
Disable base path workaround in `Link` component when React Router v6 stable is used.