title: In React DevTools my component is re-rendering but the parent is not, and it's state/props are not changing
body: <p>I have a React App that is currently re-rendering more often than I'd like. I'm using React DevTools Profiler to record my session and I have the option checked to record why the components re-render.</p>
  
  <p>For the component in question, under 'Why did this component render?' it says 'The parent component rendered.' However in the component tree of the devtools, none of the parent components are rendering. They all say 'Did not render during this profiling session.' The component I'm troubleshooting is basically the highest level component in the actual project.</p>
  
  <p>Above it are the following components:</p>
  
  <p>App</p>
  
  <p>BrowserRouter</p>
  
  <p>Router</p>
  
  <p>Context.Provider</p>
  
  <p>Switch</p>
  
  <p>Context.Consumer</p>
  
  <p>Route</p>
  
  <p>Context.Consumer</p>
  
  <p>Context.Provider</p>
  
  <p>MyComponent</p>