Electron SDK with React-router-dom in Renderer

Does anybody have insight on how to use “React-router-dom” with Sentry in the Electron environment?

My Renderer is based on React and I am l initializing the Sentry in Preload script of the renderer, however, my React is initialized later, so I am not sure how to add re-add the BrowserTracing integration on the already initialized client during React init to start tracing properly?