Update react router to use useTransition

pull/2787/head
Jérémy Rialland 2023-07-31 11:35:44 +02:00 committed by Jérémy Rialland
parent 9c49a34feb
commit 7333ffd306
3 changed files with 18 additions and 17 deletions

View File

@ -83,7 +83,7 @@
"react-instantsearch": "^6.38.1",
"react-instantsearch-dom": "^6.38.1",
"react-redux": "^8.0.5",
"react-router-dom": "^6.4.4",
"react-router-dom": "^6.14.2",
"react-signature-pad-wrapper": "^3.3.1",
"react-spring": "^9.5.5",
"react-stately": "^3.22.0",

View File

@ -153,6 +153,7 @@ function BrowserRouterProvider({
>
<BrowserRouter
basename={import.meta.env.MODE === 'production' ? '' : basename}
future={{ v7_startTransition: true }}
>
{children}
</BrowserRouter>

View File

@ -6856,10 +6856,10 @@ __metadata:
languageName: node
linkType: hard
"@remix-run/router@npm:1.3.2":
version: 1.3.2
resolution: "@remix-run/router@npm:1.3.2"
checksum: ee2108b87d4a1241cdea137dd7e1741ee679228bd33fd81e22a6bb2940f81186cefe9a85e26d60cc49bbcc1bdbc57d1954b7d4d62f8a51ef69feddfc899f55fa
"@remix-run/router@npm:1.7.2":
version: 1.7.2
resolution: "@remix-run/router@npm:1.7.2"
checksum: ea43bb662f1f5c93965989b1667fb6e8a301cb69c44341ee92c81cb15ea685b494168e5905593b5777d59058f1455b4b58083d5b895f04382e49362e420d7af4
languageName: node
linkType: hard
@ -23171,27 +23171,27 @@ __metadata:
languageName: node
linkType: hard
"react-router-dom@npm:^6.4.4":
version: 6.8.1
resolution: "react-router-dom@npm:6.8.1"
"react-router-dom@npm:^6.14.2":
version: 6.14.2
resolution: "react-router-dom@npm:6.14.2"
dependencies:
"@remix-run/router": 1.3.2
react-router: 6.8.1
"@remix-run/router": 1.7.2
react-router: 6.14.2
peerDependencies:
react: ">=16.8"
react-dom: ">=16.8"
checksum: fb1a9f5c7e4c83536ee7e6493f3c13f6abda66da69f9191fb8b087ab188ecc18a3a32575813a280cbeca67bcb8b0dcb6dbcef7ed599e03f38a44d694f4abcf14
checksum: a53dbc566ecab7890b829d42d38553684f704803c1f615db1bd6aa2d71542c369a1a79e4385be31ae71a14b72ddbcd0d8b51188248c2bccd44e015050d1927df
languageName: node
linkType: hard
"react-router@npm:6.8.1":
version: 6.8.1
resolution: "react-router@npm:6.8.1"
"react-router@npm:6.14.2":
version: 6.14.2
resolution: "react-router@npm:6.14.2"
dependencies:
"@remix-run/router": 1.3.2
"@remix-run/router": 1.7.2
peerDependencies:
react: ">=16.8"
checksum: 8e7cc7a516adeb6060911861af99d9b512893c15ec732cbf8574872919be4f3fe439ffa8c0876d1bcbced880d081bfeda3c01cb505b5a243565d10500ee0ac36
checksum: 7507bf5732b3a8ddbd901c2061216eebca73e194449bff58acc1445171e22bdda36b455b8af066e467748ebfb5875b3c0a565941c46af65c6f653a6ed0dc4fe4
languageName: node
linkType: hard
@ -24770,7 +24770,7 @@ __metadata:
react-instantsearch: ^6.38.1
react-instantsearch-dom: ^6.38.1
react-redux: ^8.0.5
react-router-dom: ^6.4.4
react-router-dom: ^6.14.2
react-signature-pad-wrapper: ^3.3.1
react-spring: ^9.5.5
react-stately: ^3.22.0