-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
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
Can't use Hook useDimensions #331
Comments
It this what you are looking for? |
To answer the original question. Yes they did on pr 322. The tutorial I am working is using @react-native-community/hooks v2.5.1. |
I am not sure why this was removed but See the thread related to Dimensions API in RN. Thread seems to close due to inactivity but Dimension API is not stable. I was using that in one of my application and when I open alert on same screen. Dimension listener sends delay response due to which UI disturbs in application. |
I see many people on YouTube tutorials using this specific hook but I can't import it, did y'all remove it by any chance? And if so how can I replicate the same thing with a different hook?
The text was updated successfully, but these errors were encountered: