
"react-native-screens": "^2.0.0-alpha.8",
index.js file
import {enableScreens,} from 'react-native-screens';
enableScreens();
i got the same one.
It used to be called useScreens in earlier betas so likely beta 8 it was called that. So either use the old name or update to latest.
i had the same issue after upgrading. clearing the RN cache solved it for me:
node node_modules/react-native/local-cli/cli.js start --reset-cache
you are right
@tarunkonda2016 is your issue solved? Can I close it?
I am closing it. Feel free to comment if something is not ok.
Most helpful comment
i had the same issue after upgrading. clearing the RN cache solved it for me: