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

React native , incrementation

$
0
0

I have a variable pass and I did a {pass++} inside of one of my return. Howether , while it increment the pass, it also show the pass on my page. How to make it so that it is not on my page?Here is my code:

return (<View><Text>    //Here I put some text, then I wanted to increment    {pass++}</Text></View>)

Viewing all articles
Browse latest Browse all 6287

Trending Articles



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