Tracing with React Router

React | Sentry Documentation suggests to share history object between the react-router and Sentry.

It’s not aligned with the react-router vision of future of history object

It already creates issues for people who used basename param as the param was removed from the API of createBrowserHistory

Is there any option to integrate with react-router without access to history object? It seems it’s going to be necessary for react-router v6 release anyway and could help folks to update to history v5 now.