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

Pass data between two screens with React Native and TypeScript

$
0
0

I'm trying to pass data between two different screens

Here is the data:

const [arrange, setArrange] = useState(false); // the clubs arrange state

The state is updating the home screen and arranging it differently based on the 'arrange' value (if true, one way, if false another).I want to update the arrange value on the second screen and send it back to the home screen and see the change.


Viewing all articles
Browse latest Browse all 6287

Trending Articles



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