Similar to the create-react-app CLI, the create-react-native-app CLI is used to create an application that includes build scripts that can be used to build an application for both development and production environments. It also includes packager, which allows you to test your application on iOS and Android emulators and also on real devices.
Using NativeRouter in a React Native application
Creating a new project with the create-react-native-app CLI
Let's get started by first installing the CLI:
npm install -g create-react-native-app
The preceding command installs the CLI in the global node_modules directory. The next step is to create a React Native project using the CLI:
create-react-native-app react-native-test-app...