vitalets / react-native-extended-stylesheet

Extended StyleSheets for React Native
MIT License
2.93k stars 132 forks source link

Scaling for different devices ❓ #68

Closed deadcoder0904 closed 6 years ago

deadcoder0904 commented 6 years ago

This topic bugs me a lot. So I googled how to make RN project for multiple devices like iPad, etc.. & to my avail a little to nothing came up. I stumbled upon a blog post which helped things to put in perspective & now the same guy has made react-native-size-matters which is an awesome library.

So should REM used in this library be enough to scale for different devices just like we do on Web❓

Or do we need react-native-size-matters for serving the purpose ❓

Or to include react-native-size-matters in react-native-extended-stylesheet

I've also created an issue there

I didn't make anything for anything other than 5 inches devices so no experience here. Maybe you could give me some insights ❔

deadcoder0904 commented 6 years ago

Hey I've read the complete docs now & I think with this library everything can be supported using media-queries, REMs & scaling. But using media-queries & stuff would rather increase LOCs & using react-native-size-matters will reduce LOCs. Anyways my issue is irrelevant now as this library does everything.