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
When the component property is not instrumented via <ApmRoute> component, we should not override the props passed down to Route component. This creates a memory leak warning in React and also its a bug in general.
After double checking, ruled out that this is not the source of the memory leak warning that gets logged. the component property would be undefined which would be ignored by React Route component.
<ApmRoute>
component, we should not override the props passed down to Route component. This creates a memory leak warning in React and also its a bug in general.https://github.com/elastic/apm-agent-rum-js/blob/master/packages/rum-react/src/get-apm-route.js#L36
Found this while instrumenting Kibana
The text was updated successfully, but these errors were encountered: