Quantcast
Channel: Active questions tagged navigation - Stack Overflow
Viewing all articles
Browse latest Browse all 9839

What is the use of layout.tsx in react native expo?

$
0
0

Previously I was Using js for writing react native expo code but now the typescript has become default language for expo(it was already the default language for react native CLI), so I'm a bit confused the new changes.

We have to write our code in a file named index.tsx which is inside the app directory and layout.tsx is also inside the same directory and it has stack navigation code written as default but I can't add another screens correctly.My main problem is navigation between screen

I did everything that I could.


Viewing all articles
Browse latest Browse all 9839

Trending Articles



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