DEV Community

Discussion on: My React Native Stack After 1 Year

Collapse
 
dcefram profile image
Daniel Cefram Ramirez

I'd like to also ask as to how do you deal with system font sizes? Or is that something that should be considered while designing the app beforehand?

Collapse
 
newbiebr profile image
Arthur Dao

I use the function normalize() that I mentionned in the post so I don't have much problems with the font sizes.

Collapse
 
dcefram profile image
Daniel Cefram Ramirez

Oh, so that's not just for the actual screen size of the phone, but also for font sizes? TIL

Thread Thread
 
newbiebr profile image
Arthur Dao

Well the function adapt a hard value like 13 depending on the screen sizes for exemple on the iPhone X the fontSize will be 13 but on the iPhone5, the fontSize is 11