From 42a8d3e3dc63604c5f9c434ac35eb0ac90cec19f Mon Sep 17 00:00:00 2001 From: t0ng7u Date: Wed, 16 Jul 2025 03:08:04 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(router):=20enable=20React?= =?UTF-8?q?=20Router=20v7=20future=20flags=20to=20suppress=20warnings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add `future` prop to `BrowserRouter` in `web/src/index.js` with `v7_startTransition` and `v7_relativeSplatPath` turned on. This opts the app into upcoming React Router v7 behavior, removes console warnings, and readies the codebase for a smoother future upgrade. No runtime behavior changes; developer-experience improvement only. --- web/src/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/web/src/index.js b/web/src/index.js index e75ccf97..b193ddf1 100644 --- a/web/src/index.js +++ b/web/src/index.js @@ -17,7 +17,12 @@ root.render( - +