-
Notifications
You must be signed in to change notification settings - Fork 83
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
Device context doesn't work with Expo Router #234
Comments
+1 still doesn't work with the latest expo-router |
@JamesHemery am I correct in saying that this is another example of a memoization problem?
assuming I'm understanding correctly that this is at it's core, another manifestation of memoization, i'd like to close this and consolidate further discussions about memoization in #112. |
I can confirm that this issue is resolved in v4, thanks @JamesHemery |
I've tried putting |
When using Expo Router and add
useDeviceContext
to root layout (app/_layout.tsx
) the screen will not be re-render when dimensions or scheme change. The layout is well re-rendered but the screen isn't.Temp workaround:
See expo/router#721
The text was updated successfully, but these errors were encountered: