“React.createContext is not a function” - but I am not using it
问题 I am getting "React.createContext is not a function" error while running a react-native application. I searched for 'createContent' in the code, it doesn't exist. Any idea what may be the reason for the error. It is an iOS build of an app that is already running on android. Here is my package.json file: { "name": "newapp", "version": "0.0.2", "private": true, "scripts": { "start": "node node_modules/react-native/local-cli/cli.js start", "test": "jest --verbose --coverage", "test:update":