create-app: update template to only depend on react-router-dom

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-12-08 21:21:42 +01:00
parent 2e701b3796
commit 71e75c0b70
3 changed files with 8 additions and 2 deletions
+7
View File
@@ -0,0 +1,7 @@
---
'@backstage/create-app': patch
---
Removed the `react-router` dependency from the app package, using only `react-router-dom` instead.
This change is just a bit of cleanup and is optional. If you want to apply it to your app, remove the `react-router` dependency from `packages/app/package.json`, and replace any imports from `react-router` with `react-router-dom` instead.