Skip to main content
ProductsDesktop toolsTASTECADDrawing reviewTASTEFILESFile managementTASTEFTPFile transferTASTESSHRemote workspaceTASTEZIPCompression and extractionTASTEWINMFile managementDeveloper toolsTASTECODERust integrated development environmentTASTESTUDIOIntegrated development and test environmentTASTEETLData integration (ETL)ServersTASTEREMOTERemote desktop serverTASTEGEOGeospatial serverTASTEMAILMail workspaceInvestingTASTESTOCKStock auto-trading desktop appGet startedDownloadsDocumentationBuyAll products
Marketplace
News
TechNewsToday's dev newsDeveloper docsProgramming languagesRustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDartWeb front-end frameworksNext.jsReactVue.js · NuxtSvelteKitAngularServer frameworksSpring BootDjangoFastAPIASP.NET CoreNestJS · ExpressApp & desktop frameworksTauriFlutterReact NativeElectronAlgorithmsAlgorithm basicsCore algorithmsAdvanced algorithmsPractical algorithms
CommunityProjectsDevelopment logsPromptsAI tool issuesShowcaseCommunity guide
Work with usTech transferWebsite buildDesktop app buildRelease and payment pipelineSales partnerContact
ServicesRemote desktopCustom installer packages
TASTEDEV
Products

Desktop tools

TASTECADComplex drawings, opened with easeTASTEFILESJust the files you need, as fast as possibleTASTEFTPThe tidiest path for your filesTASTESSHA stronger link between you and your serversTASTEZIPPack faster, unpack saferTASTEWINMA keyboard-first file manager with two panes

Developer tools

TASTECODEEdit, build, debug and test Rust apps in one windowTASTESTUDIOFrom editing to remote tests and approved AI fixesTASTEETLMove data while you watch the values

Servers

TASTEREMOTEA remote desktop you run on your own serverTASTEGEORebuilding a GeoServer-compatible geospatial server in RustTASTEMAILTake back control of your email

Investing

TASTESTOCKStock auto-trading that follows the rules you set: when, and what

Get started

DownloadsLatest builds of every productDocsHow to use each productBuySubscriptions and perpetual licencesAll productsEvery product at a glance
All products
MarketplaceNews
Tech

News

Today's dev newsOfficial announcements on languages, frameworks, GitHub and AIDeveloper docsGuides to languages, frameworks and algorithms

Programming languages

RustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDart

Frameworks

Web front-end frameworksNext.jsReactVue.js · NuxtSvelteKitAngular
Server frameworksSpring BootDjangoFastAPIASP.NET CoreNestJS · Express
App & desktop frameworksTauriFlutterReact NativeElectron

Algorithms

Algorithm basicsComplexity analysis · Sorting · Searching · Basic data structures · Trees and heapsCore algorithmsGraph traversal · Shortest paths & minimum spanning trees · Dynamic programming · Greedy algorithms · Divide and conquer · BacktrackingAdvanced algorithmsString algorithms · Math and number theory · Bit manipulation · Segment trees · Union-findPractical algorithmsCoding interview strategy · LRU cache · Rate limiting · Consistent hashing
All development docs
Community
ProjectsDiscover builders and their workDevelopment logsDecisions and lessons learnedPromptsReusable instructionsAI tool issuesProblems and workarounds for Claude, Codex, GeminiShowcaseFinished resultsCommunity guideHow we build in the open
Work with us
Tech transferNative apps in Rust and eguiWebsite build10 languages, accounts, docs and downloadsDesktop app buildRust and egui, no WebViewRelease and payment pipelineSigning, MSI, deb, rpm, AppImage, hashesSales partnerRecommend us and earn 30%ContactBuilds, partnerships and investment
Services
Remote desktopReach your computer from a browserCustom installer packagesOnly the features you need, settings preloaded
Buy
EN
한국어EnglishDeutschEspañolFrançaisItalianoPortuguês (Brasil)日本語简体中文繁體中文
Log in
Log in
TASTEDEV

From small tools to better development.

support@tastedev.netSupport TASTEDEV
ProductsProduct lineupBuyDocsDownloadsMarketplaceSupport
CommunityProjectsDevelopment logsPromptsAI tool issuesShowcase
PoliciesAbout usPrivacy policyTerms of serviceSubscription termsRefund policyCommunity guidelines
AccountLog inSign up
Visitors
Today
Yesterday
Total views
Company
GXSOFT
Representative
CHOI YOUNG GU
Business registration number
853-44-00368
Address
9F V24, 351 Gyeongin-ro, Michuhol-gu, Incheon, Republic of Korea
Phone
+82-10-4404-1523
Email
whitecalvin@tastedev.net
Privacy officer
CHOI YOUNG GU

© 2026 TASTEDEVProduct information is based on verified development sources.Released · improving

React Native docs
React Native
Getting Started with React NativeProject StructureCore ConceptsData and StateTestingDeployment
Discussions

React Native guide · 3/6

Core Concepts

You describe the UI with React components, and React Native renders them as real native views, not as a web page. This chapter covers core components, styling, platform differences, navigation and native modules.

Core components

Instead of HTML elements such as div and p, you use components provided by React Native.

ComponentPurposeAndroid / iOS equivalent
Viewlayout containerViewGroup / UIView
Textdisplays textTextView / UITextView
Imagedisplays imagesImageView / UIImageView
TextInputtext entryEditText / UITextField
ScrollViewscrollable areaScrollView / UIScrollView
FlatListlong lists, renders only what is visiblevirtualized list
Pressablehandles pressestouch events

All text must be inside a Text component; putting a raw string directly in a View is an error.

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

export function Profile({ onFollow }: { onFollow: () => void }) {
  return (
    <View style={{ padding: 16, gap: 8 }}>
      <Image source={{ uri: "https://reactnative.dev/img/tiny_logo.png" }} style={{ width: 64, height: 64 }} />
      <Text style={{ fontSize: 18, fontWeight: "600" }}>React Native</Text>
      <Pressable onPress={onFollow}>
        <Text>Follow</Text>
      </Pressable>
    </View>
  );
}

Network images need an explicit width and height. Local images use require("./assets/icon.png").

FlatList for long lists

ScrollView renders every child at once, which gets slow with many items. For long lists, use FlatList, which renders only what is on screen.

import { FlatList, Text } from "react-native";

type Todo = { id: string; title: string };

export function TodoList({ items }: { items: Todo[] }) {
  return (
    <FlatList
      data={items}
      keyExtractor={(item) => item.id}
      renderItem={({ item }) => <Text style={{ padding: 12 }}>{item.title}</Text>}
      ListEmptyComponent={<Text>Nothing to do.</Text>}
    />
  );
}

StyleSheet and Flexbox

Styles are JavaScript objects whose keys mirror CSS properties in camelCase. Unitless numbers are density-independent pixels, and styles do not cascade from parent to child (only nested Text elements inherit some text styles). Layout uses Flexbox, but unlike the web the default flexDirection is column.

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

export function Row() {
  return (
    <View style={styles.row}>
      <Text style={styles.label}>Name</Text>
      <Text style={[styles.label, styles.value]}>Ada Lovelace</Text>
    </View>
  );
}

const styles = StyleSheet.create({
  row: { flexDirection: "row", justifyContent: "space-between", padding: 16 },
  label: { fontSize: 16 },
  value: { fontWeight: "bold" },
});

An array passed to style is merged, later entries winning, which suits conditional styles.

Platform differences

When a platform needs different handling, use the Platform API or platform-specific file extensions.

import { Platform, StyleSheet } from "react-native";

const styles = StyleSheet.create({
  card: {
    padding: 16,
    ...Platform.select({
      ios: { shadowColor: "#000", shadowOpacity: 0.1, shadowRadius: 8 },
      android: { elevation: 3 },
    }),
  },
});

export const isIOS = Platform.OS === "ios";

If you create Button.ios.tsx and Button.android.tsx and import ./Button, the bundler picks the right file for each platform. To stay clear of notches and status bars, use SafeAreaView from react-native-safe-area-context; for screen size, use the useWindowDimensions hook.

Navigation

React Native itself has no navigation. Expo projects use Expo Router, while CLI projects usually use React Navigation; Expo Router is built on top of React Navigation.

import { Link, router, useLocalSearchParams } from "expo-router";
import { Button, Text, View } from "react-native";

// app/posts/[id].tsx
export default function Post() {
  const { id } = useLocalSearchParams<{ id: string }>();
  return (
    <View>
      <Text>Post {id}</Text>
      <Link href="/">Home</Link>
      <Button title="Next post" onPress={() => router.push(`/posts/${Number(id) + 1}`)} />
    </View>
  );
}

Native modules and the New Architecture

Device features beyond JavaScript are exposed through native modules written in Kotlin, Java, Swift or Objective-C. Most already exist as libraries; check the React Native Directory.

React Native now runs on the New Architecture by default. The old design passed asynchronous, serialized messages over a bridge; the New Architecture uses JSI so JavaScript can hold references to native objects and call them directly, synchronously when needed. Native modules become lazily loaded Turbo Native Modules, the renderer is Fabric, and Codegen generates type-safe glue code from TypeScript specs. The default JavaScript engine is Hermes.

import type { TurboModule } from "react-native";
import { TurboModuleRegistry } from "react-native";

export interface Spec extends TurboModule {
  setItem(value: string, key: string): void;
  getItem(key: string): string | null;
}

export default TurboModuleRegistry.getEnforcing<Spec>("NativeLocalStorage");

Expo projects can also use the Expo Modules API, a simpler way to write modules in Swift and Kotlin (npx create-expo-module@latest --local).

Summary

  • Build screens from core components such as View, Text, Image and FlatList; they render as native views.
  • Style with StyleSheet and Flexbox, where the default direction is column.
  • Handle platform differences with Platform and .ios / .android files.
  • Expo Router or React Navigation handles moving between screens.
  • The New Architecture (JSI, Turbo Native Modules, Fabric, Codegen) connects JavaScript to native code.
Questions about this chapter?
Previous chapterProject StructureNext chapterData and State

0 comments

Top commentsNewest first

Sign in · Sign in to leave a comment.