title: Detecting a hot reload in React Native
body: <p>Is there a variable that exposes the ID / count of the current hot reload in React Native, or alternatively any other way of detecting a hot reload?</p>
  
  <p>For context, I have a dynamic <code>require</code> behind a reselect selector which doesn't get invalidated when one of the required files changes. I can work around the problem by using a less efficient implementation when <code>__DEV__</code> is true, but I'd prefer something that I can add as a selector dependency.</p>