To install React Native, we will have to follow these steps:

  • Start with installing node and watchman
  • Then, install React native CLI with npm
  • Install Xcode and its Command line tools
  • Create a React Native project by using the following command

react-native init MyNewProject

cd MyNewProject

react-native run-ios

BY Best Interview Question ON 27 May 2021