GertjanReynaert / react-native-device

A UIDevice class wrapper for React Native
179 stars 34 forks source link

Make sure won't break #20

Closed RWOverdijk closed 9 years ago

RWOverdijk commented 9 years ago

The fact that you were able to require Dimensions is a bug. This ensures your module won't break if this gets fixed.

GertjanReynaert commented 9 years ago

@RWOverdijk Thx for this pr. I wasn't aware of my misuse of the Dimensions import, but yours is definitely more robust.