Tuesday, 3 May 2022

React Native - TypeError: n.createContext is not a function. (In 'n.createContext(o.default)', 'n.createContext' is undefined)

I'm trying to implement React Native into a existing Android application. I follow the steps in the official documentation and I have ended with the following error when I compile the app (Although I receive and error the build is successful).


On my phone:

The error


In Android Studio emulator:

enter image description here

Has someone faced the same issue?

Is the official React Native docs wrong?



from React Native - TypeError: n.createContext is not a function. (In 'n.createContext(o.default)', 'n.createContext' is undefined)

No comments:

Post a Comment