Home / React Native

React Native

How to Communicate with Components in React Navigation

The Goal

Recently I have created a small mobile app with the React Hooks. The app is basically for a three-step enquiry form. We have used the useState() hook to collect the input. We will use three screens i.e. Home Screen, Profile Screen, and the Confirmation Screen. The Home Screen contains the two-child screens Profile and Confirmation. The Profile Screen is basically to enter the profile data like name, email, and phone. And the Confirmation Screen is to display the Profile Screen data before submitting it.

React Navigation Switch Navigator and Authentication Flow

Authentication flow is basically a password-protected screen or a set of screens to display the user associated data or private content. Probably, you have seen many apps that require the user to login to access the app. I think it’s fair enough to understand the authentication flow. Let’s jump to the development section to better understand.