BUNDLE ./index.js
LOG Running "MyApp" with {"rootTag":1} ERROR TypeError: undefined is not an object (evaluating 'ReactCurrentActQueue$1.isBatchingLegacy') ERROR TypeError: undefined is not an object (evaluating 'ReactCurrentActQueue$1.isBatchingLegacy') `
CodePudding user response:
- If you are using expo please use an older version of react-native(0.65)
- Create a new project and move your code there.
Please refer to this thread, https://github.com/facebook/react-native/issues/34079
CodePudding user response:
Raj's answer helped. I downgraded react-native to version 0.68.2. Got rid of all node_modules. Cleared npm cache. This worked for me