Now, it's time to write some code, but let's create our application first. We will use create-react-native-app for that, and we will eject from it later on when we add the Twitter client API that has native code in it:
create-react-native-app twitterClone
Now, it's time to set some folder structure. We will create the src folder and put the assets, components, config, core, screens, and utils folders there.
Now, let's think of the navigation structure before diving into implementation:
Let's take a look at what is going in here.
First of all, SplashScreen, Login, and Main flow can be grouped by lack of one functionality; none of them needs the back functionality. You don't go from Login to Splash screen, or by getting to Splash screen, you don't need to press the back button...