From f500a2068c0108fb833ab9ae01d569086f61b275 Mon Sep 17 00:00:00 2001 From: Harshith Mohan Date: Sat, 4 May 2024 18:32:10 +0530 Subject: [PATCH 1/2] Fix typo in doc for `reactRouterV6BrowserTracingIntegration` --- packages/react/src/reactrouterv6.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/reactrouterv6.tsx b/packages/react/src/reactrouterv6.tsx index ab67ba44bb5a..985d61fef9cb 100644 --- a/packages/react/src/reactrouterv6.tsx +++ b/packages/react/src/reactrouterv6.tsx @@ -59,7 +59,7 @@ interface ReactRouterOptions { } /** - * A browser tracing integration that uses React Router v3 to instrument navigations. + * A browser tracing integration that uses React Router v6 to instrument navigations. * Expects `history` (and optionally `routes` and `matchPath`) to be passed as options. */ export function reactRouterV6BrowserTracingIntegration( From a2ba1973314bee0b518ce666c2b8766ffce99c61 Mon Sep 17 00:00:00 2001 From: Francesco Novy Date: Mon, 6 May 2024 08:14:48 +0200 Subject: [PATCH 2/2] Update packages/react/src/reactrouterv6.tsx --- packages/react/src/reactrouterv6.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/reactrouterv6.tsx b/packages/react/src/reactrouterv6.tsx index 985d61fef9cb..fb3f15aae3bf 100644 --- a/packages/react/src/reactrouterv6.tsx +++ b/packages/react/src/reactrouterv6.tsx @@ -60,7 +60,7 @@ interface ReactRouterOptions { /** * A browser tracing integration that uses React Router v6 to instrument navigations. - * Expects `history` (and optionally `routes` and `matchPath`) to be passed as options. + * Expects `useEffect`, `useLocation`, `useNavigationType`, `createRoutesFromChildren` and `matchRoutes` to be passed as options. */ export function reactRouterV6BrowserTracingIntegration( options: Parameters[0] & ReactRouterOptions,