What should be the image resolution in React Native?

Reaction Native components are unitless and represent density independent pixels as per this page .

However, when I create an image, what should be the ideal pixel resolution? Let's say I have a tag like this:

<Image style={{width: 100, height: 100}} source={require('./img/myimage.png')} />

      

How much should I render my image to make sure it displays well on all devices?

+3


source to share





All Articles