React NativeCore Components & APIs

135 items

1

Network images need explicit dimensions

Quiz
2

Strings must be wrapped in <Text>

Quiz
3

Listeners return a subscription: call remove()

Quiz
4

Pass a function to onPress, don't call it

Quiz
5

AppState 'inactive' happens only on iOS

Quiz
6

Listeners return a subscription: call remove()

Flashcard
7

Network images need explicit dimensions

Flashcard
8

Pass a function to onPress, don't call it

Flashcard
9

Strings must be wrapped in <Text>

Flashcard
10

AppState 'inactive' happens only on iOS

Flashcard
11

AppState Foreground Detection Cleanup

Code Quiz
12

AppState & Lifecycle Mapping Across Platforms

Quiz
13

Flexbox Row Layout Bug

Code Quiz
14

Default Flex Direction in React Native

Quiz
15

FlatList Missing Key Extractor

Code Quiz
16

FlatList keys with keyExtractor

Quiz
17

Detecting Backgrounding with AppState

Code Quiz
18

React Native AppState Backgrounding

Quiz
19

Flexbox Row Layout Bug

Code Quiz
20

Rendering Text in React Native

Quiz
21

FlatList and the Power of Keys

Slides / Video
22

React Native AppState & Backgrounding

Slides / Video
23

FlatList and the Role of Keys

Flashcard
24

React Native AppState Basics

Flashcard
25

Core Components, Flexbox & The Bridge

Slides / Video
26

Core Components, Flexbox & the Bridge

Flashcard
27

AppState Listener Cleanup Bug

Code Quiz
28

Text Inside a View

Code Quiz
29

AppState & Component Lifecycle in RN

Quiz
30

Default Flexbox Direction in React Native

Quiz
31

Core Components & Flexbox Styling

Slides / Video
32

AppState & Component Lifecycle in RN

Slides / Video
33

Core Components & Flexbox Styling

Flashcard
34

AppState & Component Lifecycle in RN

Flashcard
35

Core Components, JSX & Flexbox

Slides / Video
36

Core Components, JSX & Flexbox Basics

Flashcard
37

Nesting Text Components

Code Quiz
38

ScrollView for Scrollable Content

Slides / Video
39

How Core Components Map to Native UI

Slides / Video
40

Switch Component for Toggles

Slides / Video
41

ActivityIndicator for Loading States

Slides / Video
42

Dimensions API for Screen Size

Slides / Video
43

Platform API for Platform-Specific Code

Slides / Video
44

Alert API for Popup Dialogs

Slides / Video
45

StyleSheet API for Styling

Slides / Video
46

Core Components vs HTML Elements

Slides / Video
47

SafeAreaView Usage

Code Quiz
48

Core Components vs HTML

Code Quiz
49

Screen Dimensions

Code Quiz
50

FlatList keyExtractor

Code Quiz
51

ImageBackground Source

Code Quiz
52

SectionList Sections

Code Quiz
53

Image source Prop

Code Quiz
54

TouchableOpacity Handler

Code Quiz
55

Combining Styles

Code Quiz
56

Rendering with FlatList

Code Quiz
57

Switch Toggle

Code Quiz
58

TextInput Change Handler

Code Quiz
59

Controlled TextInput

Code Quiz
60

StyleSheet.create

Code Quiz
61

Button onPress Prop

Code Quiz
62

Pressable Basics

Code Quiz
63

Alert Dialog

Code Quiz
64

Local vs Network Images

Code Quiz
65

Displaying Text

Code Quiz
66

Modal Visibility

Code Quiz
67

View as a Container

Code Quiz
68

ScrollView for Content

Code Quiz
69

ActivityIndicator Size

Code Quiz
70

Platform-Specific Code

Code Quiz
71

SafeAreaView for Device-Safe Layouts

Slides / Video
72

SectionList for Grouped Lists

Slides / Video
73

FlatList for Rendering Lists

Slides / Video
74

Modal Component

Flashcard
75

Passing Props to Components

Flashcard
76

TextInput Component

Flashcard
77

ScrollView Component

Flashcard
78

FlatList Component

Flashcard
79

SafeAreaView Component

Flashcard
80

ImageBackground Component

Flashcard
81

ActivityIndicator Component

Flashcard
82

TouchableHighlight Component

Flashcard
83

AppState API

Flashcard
84

Alert API

Flashcard
85

Dimensions API

Flashcard
86

Platform API

Flashcard
87

PixelRatio API

Flashcard
88

StatusBar Component

Flashcard
89

TouchableOpacity Component

Flashcard
90

Text Component

Flashcard
91

Switch Component

Flashcard
92

Linking API

Flashcard
93

Handling User Input with State

Flashcard
94

SectionList Component

Flashcard
95

Pressable Component

Flashcard
96

KeyboardAvoidingView Component

Flashcard
97

StyleSheet API

Flashcard
98

View Component

Flashcard
99

Button Component

Flashcard
100

TouchableWithoutFeedback Component

Flashcard
101

Flexbox Layout

Flashcard
102

Keyboard API

Flashcard
103

Image Component

Flashcard
104

keyExtractor and renderItem

Flashcard
105

Core vs Native Components

Flashcard
106

Button Component in React Native

Slides / Video
107

Touchable Components: Making Views Tappable

Slides / Video
108

The Switch Component

Quiz
109

The View Component

Quiz
110

Core Components and Native UI

Quiz
111

The SafeAreaView Component

Quiz
112

The Dimensions API

Quiz
113

The StyleSheet API

Quiz
114

The Button Component

Quiz
115

The StatusBar Component

Quiz
116

The TextInput Component

Quiz
117

The Text Component

Quiz
118

View vs ScrollView

Quiz
119

Handling Press Events

Quiz
120

The Image Component

Quiz
121

The SectionList Component

Quiz
122

The TouchableOpacity Component

Quiz
123

The Platform API

Quiz
124

ScrollView vs FlatList

Quiz
125

The Modal Component

Quiz
126

The FlatList Component

Quiz
127

Passing Props to Components

Quiz
128

The ScrollView Component

Quiz
129

The Pressable Component

Quiz
130

The Alert API

Quiz
131

The ActivityIndicator Component

Quiz
132

TextInput for User Input

Slides / Video
133

Image Component for Displaying Images

Slides / Video
134

Text Component for Displaying Text

Slides / Video
135

View: The Core Building Block

Slides / Video
FlashcardBeginner

Pass a function to onPress, don't call it

Give onPress a function reference, not the result of calling it immediately.

Question

What's wrong with onPress={handlePress()}?

Click to reveal answer