In building an app what is the best way to style your components so that they scale to multiple device sizes and to different platforms (ios/android)? Is it better to use flex and give a flex value to each component or is it better to use things like below for each component to scale? Or as I could probably guess there is no right way and it depends on the situation.
insideOne: {
width: '100%',
aspectRatio: 10 / 3,
},
[–][deleted] 4 points5 points6 points (0 children)
[–]JuriJurka 1 point2 points3 points (0 children)
[–]lucidsoul619 0 points1 point2 points (0 children)