title: React-Native-Web error: rnw_blogpost.bundle.js:1414 Uncaught TypeError: Cannot read properties of undefined (reading 'isBatchingLegacy')
body: <p>Adding <code>react-native-web</code> package to existing RN app (made with <code>react-native init</code>).  Following the setup from this site:</p>
  <p><a href="https://arry.medium.com/how-to-add-react-native-web-to-an-existing-react-native-project-eb98c952c12f" rel="nofollow noreferrer">https://arry.medium.com/how-to-add-react-native-web-to-an-existing-react-native-project-eb98c952c12f</a></p>
  <p>The project compiles successfully, but in the browser I get a blank white screen and an error that loops:</p>
  <pre><code>Uncaught TypeError: Cannot read properties of undefined (reading 'isBatchingLegacy')
  </code></pre>
  <p>I can't find anything about this error, I have traced the relevant files and am not sure how to proceed.</p>