From f90c778ebae75e97016459d92f26a565a89f4e8c Mon Sep 17 00:00:00 2001 From: Mikhail Shabarov Date: Wed, 27 Nov 2024 09:24:05 +0200 Subject: [PATCH] chore: Opt-in for v7_startTransition of React Router Preparations for React Router v7, opts-in a new feature to avoid warnings in console. Related-to https://github.com/vaadin/flow/issues/20527 --- .../resources/com/vaadin/flow/server/frontend/index-react.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flow-server/src/main/resources/com/vaadin/flow/server/frontend/index-react.tsx b/flow-server/src/main/resources/com/vaadin/flow/server/frontend/index-react.tsx index d1b7ce77bae..c5717412b1a 100644 --- a/flow-server/src/main/resources/com/vaadin/flow/server/frontend/index-react.tsx +++ b/flow-server/src/main/resources/com/vaadin/flow/server/frontend/index-react.tsx @@ -16,7 +16,7 @@ import { RouterProvider } from 'react-router-dom'; import { router } from '%routesJsImportPath%'; function App() { - return ; + return ; } const outlet = document.getElementById('outlet')!;