100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

React Native Questions with 100% Actual correct answers | verified | latest update | Graded A+ | Already Passed | Complete Solution

Rating
-
Sold
-
Pages
5
Grade
A+
Uploaded on
18-06-2024
Written in
2023/2024

React Native Questions with 100% Actual correct answers | verified | latest update | Graded A+ | Already Passed | Complete Solution

Institution
Course









Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
Study
Course

Document information

Uploaded on
June 18, 2024
Number of pages
5
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

Content preview

React Native
All the core components accept a what? - ANS-style attribute or array of styles

Composite components are not backed by a native view, so you cannot call what? -
ANS-setNativeProps

For layout, what does React Native implement? - ANS-Flexbox

For static images, what keyword is needed? - ANS-require

How are animations started? - ANS-calling start()

How can animations be composed together? - ANS-parallel, sequence, stagger, delay

How do you create a background-image? - ANS-render whatever children you want
inside an image component

How do you enable debugging? - ANS-control + command + z

How do you render an image? - ANS-source attribute

If a lot of work is being done on the JS thread, and the cost to delay work during an
animation is too high, what should you do? - ANS-use LayoutAnimation, which
leverages Core Animation

If the View is responding, the following handler can be called if something else wants to
become responder? - ANS-onResponderTerminate

If the View is responding, the following handler can be called if the responder has been
taken from the View? - ANS-onResponderTerminate

If the View is responding, the following handler can be called if the user is moving their
finger? - ANS-onResponderMove

If the View is responding, the following handler can be called or is fired at the end of the
touch (e.g touchUp)? - ANS-onResponderRelease

, If the View wants to become a touch responder, what method asks does this view want
to become responder on the start of a touch? - ANS-onStartShouldSetResponder

If the View wants to become a touch responder, what method is called for every touch
move on the View when it is not the responder: does this view want to claim touch
responsiveness? - ANS-onMoveShouldSetResponder

If you are using immutable data structures with a ListView, how can you achieve high
performance? - ANS-rowHasChanged function as equality check

onStartShouldSetResponder and onMoveShouldSetResponder are called with what
kind of pattern? - ANS-bubbling, where the deepest node is called first

What animation component is for more granular and interactive control of specific
values? - ANS-Animated

What API is exposed to customize the UINavigationController? -
ANS-NavigatorSceneConfigs

What are some hacks around increasing ListView performance? - ANS-setting the
initialListSize to 1-3, the pageSize to 1 or more depending on how small views are,
scrollRenderAheadDistance specifies how early to start rendering rows before they
come on screen, removeClippedSubviews specifies offscreen child views
(overflow:hidden) are removed from their native backing when offscreen.

What are the animated component types? - ANS-View, Text, Image

What are the animated types? - ANS-spring, decay, timing

What are the core components? - ANS-Text, Image, View, TextInput, ListView

What are the two animated value types? - ANS-Value, ValueXY

What can you provide as a suffix to an image to match screen density? - ANS-@2x,
@3x

What component allows the user to enter text? - ANS-TextInput

What component allows you to globally configure create and update animations that will
be used for all views in the next render/layout cycle? - ANS-LayoutAnimation

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
DoctorHkane Havard School
Follow You need to be logged in order to follow users or courses
Sold
732
Member since
4 year
Number of followers
168
Documents
22476
Last sold
1 week ago

Explore my Stuvia collection for essential study aids: test banks, exams, summaries, and cases. With five years of expertise as an academic writer, I have honed my skills in crafting top-notch essays, exams, and research dissertations. My proficiency lies in producing well-structured and thoroughly researched content that meets academic standards. I am adept at handling various subjects and ensuring a seamless flow of ideas. Whether it's delivering compelling arguments in essays, creating challenging yet fair exam questions, or delving into in-depth research for dissertations, my experience equips me to excel in diverse academic writing tasks. I pride myself on meeting deadlines and maintaining the highest quality in every piece I produce. REACH ON iamnjokikelvin1@gmail

Read more Read less
4,6

386 reviews

5
308
4
29
3
21
2
10
1
18

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions