You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on the instructions detailed here we integrated this library in order to get better and more meaningful reports collected in Datadog RUM service.
Problem is that using RumRoute (as Route) causes each call to history.push() (where const history = useHistory(); in the standard way) causes a re-render of the components tree employed on the screen currently using used.
If we eliminate this import { RumRoute as Route } from '@datadog/rum-react-integration'; and import from react-router-dom problem is gone.
We're not sure where exactly the problem lies as the code inside this library and probably more so in @datadog/browser-rum-core is complex
Based on the instructions detailed here we integrated this library in order to get better and more meaningful reports collected in Datadog RUM service.
Problem is that using
RumRoute(asRoute) causes each call tohistory.push()(whereconst history = useHistory();in the standard way) causes a re-render of the components tree employed on the screen currently using used.If we eliminate this
import { RumRoute as Route } from '@datadog/rum-react-integration';and import fromreact-router-domproblem is gone.We're not sure where exactly the problem lies as the code inside this library and probably more so in
@datadog/browser-rum-coreis complexContext (Environment)