Explore Library
React NativePlatform-Specific Code

43 items

1

Comparing Platform.Version on Android

Code Quiz
2

Ternary Platform Check Gone Wrong

Code Quiz
3

StatusBar backgroundColor Does Nothing on iOS

Code Quiz
4

Extension Resolution Order

Code Quiz
5

Platform.isPad Constant

Code Quiz
6

Detecting Web vs Native

Code Quiz
7

Platform.select Value Mapping

Code Quiz
8

Platform-Specific Style Objects

Code Quiz
9

Default Case in Platform.select

Code Quiz
10

Platform.OS Runtime Branching

Code Quiz
11

Platform-Specific File Extensions

Code Quiz
12

Platform.select in StyleSheet.create

Code Quiz
13

Branch Code vs Split Files

Slides / Video
14

Platform Behavior in Shared Components

Slides / Video
15

Organizing Platform-Specific Code

Slides / Video
16

Detecting Platform Constants: isPad & isTV

Slides / Video
17

Conditional Styling per Platform

Slides / Video
18

Native File Extensions for Web Sharing

Slides / Video
19

How Metro Resolves Platform Extensions

Quiz
20

Platform-Specific File Extensions

Quiz
21

Platform.Version for OS Checks

Quiz
22

Conditional Rendering per Platform

Quiz
23

Platform Differences: elevation vs shadow

Quiz
24

Platform.select in StyleSheet

Quiz
25

Reading Platform.constants

Quiz
26

Detecting Tablet with Platform.isPad

Quiz
27

Shared vs Platform-Divergent Code

Quiz
28

Platform.select for Value Maps

Quiz
29

.native.js vs .web.js Resolution

Quiz
30

.native.js for Web Code Sharing

Flashcard
31

Organizing Platform-Specific Code

Flashcard
32

Platform.select for OS Value Maps

Flashcard
33

Platform-Specific Styling Differences

Flashcard
34

Automatic Platform Extension Resolution

Flashcard
35

Physical Device vs Simulator

Flashcard
36

Platform.Version for OS Version Checks

Flashcard
37

Platform-Specific File Extensions

Flashcard
38

Conditional Platform Component Rendering

Flashcard
39

Platform.isPad, isTV Constants

Flashcard
40

StatusBar and Safe Area Differences

Flashcard
41

Platform File Extensions in React Native

Slides / Video
42

Platform.Version for OS Version Checks

Slides / Video
43

Platform.select for Per-Platform Values

Slides / Video
Slides / VideoIntermediate

Platform.Version for OS Version Checks

Learn how Platform.Version lets you branch code based on the device's OS version in React Native.

Slide 1
1 / 6