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
Hi @jaredh159,
React Navigation memoizes the screens, so when resizing the browser (RN Web), they are not affected by useDeviceContext.
Do you have a better idea than a custom HOC/Hook on all screens (with usage of useFocusEffect) ?
One other is to use children fn, but it break the React Navigation optimizations. (see https://reactnavigation.org/docs/hello-react-navigation#passing-additional-props)
I think that if we find an effective solution, it will have a good place in the documentation :)
The text was updated successfully, but these errors were encountered:
I think this is effectively a duplicate of #112
Sorry, something went wrong.
No branches or pull requests
Hi @jaredh159,
React Navigation memoizes the screens, so when resizing the browser (RN Web), they are not affected by useDeviceContext.
Do you have a better idea than a custom HOC/Hook on all screens (with usage of useFocusEffect) ?
One other is to use children fn, but it break the React Navigation optimizations. (see https://reactnavigation.org/docs/hello-react-navigation#passing-additional-props)
I think that if we find an effective solution, it will have a good place in the documentation :)
The text was updated successfully, but these errors were encountered: