We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
yarn
useFocusEffect render twice when entry page
This doesn't happen if i use useFocusEffect impoted from '@react-navigation/native'
import { useFocusEffect } from 'expo-router'; export default () => { // log 2 times console.log('render'); useFocusEffect(useCallback(() => { // }, [])); return ( <Text>hello</Text> ); };
The text was updated successfully, but these errors were encountered:
航总牛逼
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Which package manager are you using? (Yarn is recommended)
yarn
Summary
useFocusEffect render twice when entry page
This doesn't happen if i use useFocusEffect impoted from '@react-navigation/native'
Minimal reproducible example
The text was updated successfully, but these errors were encountered: