I have a bare react native app. React Native v0.70.4.
I installed both react-native-ios-context-menu and @react-native-menu/menu.
When I launch the project I get the following error "can't find variable: React in display-names.js" (cf attached image).
I am able to patch this by adding import React from 'react'; at the top of the display-names.js file.
Is there something I am doing wrong?
I have a bare react native app. React Native v0.70.4. I installed both react-native-ios-context-menu and @react-native-menu/menu. When I launch the project I get the following error "can't find variable: React in display-names.js" (cf attached image). I am able to patch this by adding
import React from 'react';
at the top of the display-names.js file. Is there something I am doing wrong?