Code Reference

Glossary

React Native · Reference cheat sheet

Glossary

React Native · Reference cheat sheet


📋 Overview

Alphabetical glossary of core React Native terms for components, navigation, native modules, and mobile UI patterns.

🔧 Core concepts

TermDefinition
ActivityIndicatorA built-in spinner component for indeterminate loading states.
AppRegistryThe JS entry that registers the root component with the native runtime.
AppStateAn API reporting whether the app is active, background, or inactive.
BridgeThe legacy message channel between JavaScript and native modules.
DimensionsAn API that reads window or screen width and height.
ExpoA toolchain and SDK that simplifies React Native development and builds.
FlatListA performant scrolling list that virtualizes large data sets.
FlexboxThe default layout system used by React Native styles.
GestureTouch interaction handling, often via Gesture Handler or Pressable.
HermesA JavaScript engine optimized for React Native startup and memory.
LinkingAn API for opening URLs and handling deep links into the app.
MetroThe JavaScript bundler commonly used by React Native projects.
ModalA component that presents content above the current screen.
Native modulePlatform code (Swift/Kotlin/etc.) exposed to JavaScript.
NavigationMoving between screens, typically via React Navigation stacks/tabs.
New ArchitectureFabric renderer and TurboModules replacing the legacy bridge path.
PlatformHelpers to branch behavior for iOS, Android, or web.
PressableA core component for detecting presses with fine-grained feedback.
SafeAreaViewA view that insets content away from notches and system UI.
ScrollViewA scrollable container for content that fits reasonably in memory.
SectionListA virtualized list organized into titled sections.
StatusBarControl over the system status bar style and visibility.
StyleSheetAn API that creates optimized style objects for components.
TextInputA core editable text field component.
TouchableLegacy press wrappers (TouchableOpacity, etc.) largely replaced by Pressable.
ViewThe fundamental container component, analogous to a div on web.
YogaThe cross-platform layout engine implementing Flexbox for native views.

💡 Examples

View, Text, and StyleSheet:

import { StyleSheet, Text, View } from "react-native";

const styles = StyleSheet.create({
  box: { padding: 16, flex: 1 },
  title: { fontSize: 18, fontWeight: "600" },
});

export function Card() {
  return (
    <View style={styles.box}>
      <Text style={styles.title}>Hello</Text>
    </View>
  );
}

FlatList:

<FlatList
  data={users}
  keyExtractor={(item) => item.id}
  renderItem={({ item }) => <Text>{item.name}</Text>}
/>

AppState:

useEffect(() => {
  const sub = AppState.addEventListener("change", (next) => {
    console.log(next);
  });
  return () => sub.remove();
}, []);

⚠️ Pitfalls

  • Confusing ScrollView (simple, all-in-memory) with FlatList (virtualized).
  • Mixing web CSS assumptions with React Native StyleSheet — many properties differ.
  • Treating Touchable* and Pressable as identical — Pressable is the modern API.
  • Assuming Linking alone equals full navigation — deep links still need a navigator.
  • Equating Expo managed workflow with bare React Native — tooling and native access differ.

On this page