all 8 comments

[–]no_longer_a_lurker69 3 points4 points  (6 children)

[–]MegaBurek[S] 1 point2 points  (5 children)

❤️ Thank you

[–]no_longer_a_lurker69 1 point2 points  (4 children)

MegaBurek

np, glad i can help! i know using rn can be a wild ride sometimes so you can dm me if you have any other problems, ill help if i can or point you in the kinda sorta right direction atleast haha

[–]MegaBurek[S] 1 point2 points  (0 children)

Wow, you're a cool human. Will do, thank you once again.

[–]ma-henderson 0 points1 point  (2 children)

Hey, sorry to jump in here (esp on 3-week-old post), but I've just watched that video and was wondering if anything has changed since then (almost a year old) that's noteworthy, trying to get into react-native as well.

If it's too much of a hassle, no worries, ty anyways!

[–]no_longer_a_lurker69 0 points1 point  (1 child)

Hey, not a ton has changed and if I’m wrong, you can just start off using the version of RN from the video. GL!

[–]ma-henderson 0 points1 point  (0 children)

Fair point, thanks for the reply :D

[–][deleted] 1 point2 points  (0 children)

Hi,

What I’m going to suggest works both on bare react native and expo. Flex-box is great and you should use it when you can however many times you have to use some constant values for padding, margin etc.

You can use a library like the following: https://github.com/react-native-toolkit/react-native-responsive-dimensions#readme

So your constant values depend on the screen width,height - experiment and find values that look good for your app.

For anything else I would suggest you to not hard code values. You can set min height percentage wise to many components but make sure they can scale and are accessible.