I get this error message when I use react-native run-iosor just create for iOS:
react-native run-ios
ReactComponentTreeHook.purgeUnmountedComponents is not a function. (In 'ReactComponentTreeHook.purgeUnountedComponents()', 'ReacComponentTreeHook.purgeUnmountedComponents' is undefined)
I used CRNA and threw it away. I also used react-native-push-notificationand react-native-beacons-managerand follow the instructions of both. The project works when I run it in Android.
react-native-push-notification
react-native-beacons-manager
I read here that it depends on what I use the mini version reactand the non-urgent version react-dombut I don’t see where I can change this when it comes to React Native.
react
react-dom
How to solve this?
, , react react-native, , . npm WARN react-native@0.48.4 requires a peer of react@16.0.0-alpha.12 but none was installed. ( , - , ).
react-native
npm WARN react-native@0.48.4 requires a peer of react@16.0.0-alpha.12 but none was installed.
react@16.0.0-alpha.12, . -, facebook ReactComponentTreeHook.purgeUnmountedComponents , .
react@16.0.0-alpha.12
ReactComponentTreeHook.purgeUnmountedComponents