Quantcast
Channel: Active questions tagged javascript - Stack Overflow
Viewing all articles
Browse latest Browse all 138192

Show loading indicator in React Native when rendering screens

$
0
0

I'm making an app with React Native, and I have a doubt. I have a navigator with various screens. When the screens are small / easy, the navigation is instant and it feels fast, but when the screen I need to navigate to is big / shows a lot of icons/images, etc., the screen freezes when I press the navigation button untils it renders the screen and then it navigates there.

Is there any way to show a loading indicator when this happens? Because my screens are taking 500 to 1000ms to render and it makes the UX bad by freezing.


Viewing all articles
Browse latest Browse all 138192

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>