Closed WKampel closed 2 months ago
I'm using Expo Router. When I resize the screen on web, the media queries aren't causing re-renders like they should, so it's not responsive.
I have useDeviceContext(tw) in the root _layout.
useDeviceContext(tw)
did you read the section on memo busting in the readme?
closing, pretty sure this would be a dupe of https://github.com/jaredh159/tailwind-react-native-classnames/issues/112 or solvable with memo-busting.
I'm using Expo Router. When I resize the screen on web, the media queries aren't causing re-renders like they should, so it's not responsive.
I have
useDeviceContext(tw)
in the root _layout.