title: ReferenceError: Can't find variable: modules
body: <p>I am trying to implement highcharts wrapper within react-native application following this          </p>
  
  <p><a href="https://www.highcharts.com/blog/post/creating-mobile-charts-with-highcharts-react-native/" rel="nofollow noreferrer">https://www.highcharts.com/blog/post/creating-mobile-charts-with-highcharts-react-native/</a></p>
  
  <p>On running the app with expo start on device, it returned me below error </p>
  
  <blockquote>
    <p>Warning: %s: Error boundaries should implement
    getDerivedStateFromError(). In that method, return a state update to
    display an error message or fallback UI., RootErrorBoundary
         ReferenceError: Can't find variable: modules
        * App.js:21:8 in render</p>
  </blockquote>
  
  <p>Line 21 of App.js have the highcharts container HighchartsReactNative</p>
  
  <p>Any leads will be highly helpful</p>