📁 Understanding the file structure of T4 App
For code within the
packages/ui directory, you can target both web, native, or both at the same time.
For a given file name,
.native.tsxtargets Expo/React Native
.tsxis shared across both
Using this approach, T4 app can share as much code as possible between web and native, while still allowing for platform specific code.
Create a new folder in
/packages/app/featureswith your screen name.
Create a new file in the folder called
Import the screen in your