Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6288

App.tsx is called when I am navigating between screens

$
0
0

I have an odd issue: I will explain. When app is opened an initial API call is made to the backend exchanging various bits of encrypted data and information. Then I get back a user unique identifier, that is unique to them and their phone number. Then when the user is navigating between a static screen (ie its just a normal screen and is not storing anything or any user information) Then when the user leaves that screen they get to a screen to add their information. This is where my initial API call is called again, that was called when I opened the app.

The app.tsx screen is where the initial api call is made...


Viewing all articles
Browse latest Browse all 6288

Trending Articles



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