Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
3K views

React Native

React Native is a framework developed by Facebook that allows developers to build mobile apps using React. It differs from ReactJS in that it uses native components and allows building apps for iOS and Android using JavaScript instead of Objective-C or Java. Some key aspects of React Native include using JSX syntax that mixes JavaScript and XML tags, the Navigator component for navigation, and the package.json file to declare dependencies. It also supports live reloading and uses the native Geolocation API through the navigator object.

Uploaded by

Venkatesh Babu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3K views

React Native

React Native is a framework developed by Facebook that allows developers to build mobile apps using React. It differs from ReactJS in that it uses native components and allows building apps for iOS and Android using JavaScript instead of Objective-C or Java. Some key aspects of React Native include using JSX syntax that mixes JavaScript and XML tags, the Navigator component for navigation, and the package.json file to declare dependencies. It also supports live reloading and uses the native Geolocation API through the navigator object.

Uploaded by

Venkatesh Babu
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

1.

React Native is not having third-party plugin compatibility


a. False
2. React Native is ‘learn once, run anywhere’.
a. False
3. What is the main difference between React and React Native?
a. ReactJS is a Library where react native is a framework.
4. It is compulsory to install Xcode or Android studio for react native mobile
application development.
a. False
5. Developer of React Native is
a. Facebook
6. AppRegistry is the JavaScript exit point to run all React Native apps.
a. False
7. JSX is JavaScript with a syntax extension which allows a mixture
between _______________ and ___________.
a. JavaScript and XML tags
8. Which method is called when a component is being removed from the
DOM?
a. componentWillUnmount()
9. _______________ is a component that enable navigation between
different screens in the applications.
a. Navigator
10. Which of the following properties Flex box Layout has?
a. All of the above
11. With React Native,you just style your application using
_______________
a. JavaScript
12. The _______________ file defines some metadata for our project
and, most importantly, declares react-native as a dependency of our
own project
a. Package.json
13. One of the benefits of React Native vs. Native Development is
that React Native has the live reload ability
a. True
14. In React Native, Geolocation API is available through the
_______________ global, so you do not need to import it.
a. navigator.geolocation

PERSONAL
15. In Reactive forms, the HTML of the forms are automatically
created.
a. False
16. React Native supports DOM and Virtual DOM concept.
a. False
17. What type of data does a ListView take?
a. Data Source
18. Which of the following is not a React Native API?
a. Settings
19. React Native is like other Hybrid Apps which are actually slower
than Native mobile apps
a. False
20. Which method retrieves automatic updates about the current
location of the device?
a. Geolocation.watchPosition()
21. For networking needs, React Native framework provides the fetch
API.
a. True
22. Which Objective C file can be used to switch the React Native
bundle location in bundle.cc?
a. AppDelegate.m
23. _______________ is an architectural pattern that enforces
unidirectional data flow
a. Flux
24. React Native is ‘learn once, write anywhere’.
a. True
25. You can use any CSS in the styles of the React Native StyleSheet
object.
a. True
26. FormsModule is imported from @angular/_______ in Model
Driven Form
a. Forms  this is wrong
27. Which command you have to run for installing React Native?
a. npm install -g react-native-cli
28. To build an iOS app, you need a Mac OS and to build an android
app you want 
a. Any one of these
29. How do you create a new React Native project?

PERSONAL
a. $ react-native init
30. Live Reloading and Hot Loading is present in React Native
Developer Tools.
a. True
31. _______________ captures user touch events
a. None of these
32. AppRegistry is the JavaScript entry point for running all React
Native apps
a. True

33. By writing CSS in JavaScript, you are isolating styles from


a. Code / package  is wrong
34.

PERSONAL

You might also like