React Native Interview Questions

Find Top React Native Interview questions

  • Q1.

    Explain React Native?

    React Native is mobile app development platform that allow you to create android and ios apps only using Javascript. React Native uses the same fundamental UI building blocks as regular iOS and Android apps so applications created using React Native are indistinguishable from an app built using Objective-C or Java.
  • Q2.

    Can we combine native ios or android code in React Native.

    Yes, we can. React Native smoothly combines the components written in Objective-C, Java, or Swift.
  • Q3.

    Who uses React Native?

    Thousands of apps are created using React Native. Here is the list of some popular companies who are using React Native.
    • Facebook
    • Facebook Ads Manager
    • Instagram
    • F8
    • Airbnb
    • Skype
    • Tesla

    You know more from https://facebook.github.io/react-native/showcase.html

    Also, Read Best React.Js Interview Questions and Answers

  • Q4.

    List Step to Create and start a React Native App?

    Run the following command to Create and start a React Native App.
    • Step 1: npm install -g create-react-native-app // Installs create native app
    • Step 2: create-react-native-app AwesomeProject // Create a project named AwesomeProject
    • Step 3: cd AwesomeProject
    • Step 4: npm start
  • Q5.

    What does StyleSheet.create do?

    StyleSheet.create method ensures that values are immutable and opaque, they are also only created once.
  • Q6.

    For what XHR Module is used in React Native?

    XHR Module is used for implementation of XMLHttpRequest to post data on the server.
  • Q7.

    List some core components of React Native?

    Text, Image, View, TextInput, ListView are some core components of React Native.
  • Q8.

    How Virtual DOM works in React Native?

    React creates an in-memory data structure cache, computes the resulting differences, and then updates the browser’s displayed DOM efficiently. This allows developers to write code as if the entire page is rendered on each change while the React libraries only render subcomponents that actually change.
Ask a Question