Saltar al contenido principal
ProductosHerramientas de escritorioTASTECADRevisión de planosTASTEFILESGestión de archivosTASTEFTPTransferencia de archivosTASTESSHEspacio de trabajo remotoTASTEZIPCompresión y extracciónTASTEWINMGestión de archivosHerramientas para desarrolladoresTASTECODEEntorno de desarrollo integrado para RustTASTESTUDIOEntorno integrado de desarrollo y pruebasTASTEETLIntegración de datos (ETL)ServidoresTASTEREMOTEServidor de escritorio remotoTASTEGEOServidor geoespacialTASTEMAILEspacio de trabajo de correoInversiónTASTESTOCKAplicación de escritorio de trading automático de accionesEmpezarDescargasDocumentaciónComprarTodos los productos
Marketplace
Noticias
TecnologíaNoticiasNoticias de desarrollo de hoyDocumentaciónLenguajes de programaciónRustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDartFrameworks web frontendNext.jsReactVue.js · NuxtSvelteKitAngularFrameworks de servidorSpring BootDjangoFastAPIASP.NET CoreNestJS · ExpressFrameworks de apps y escritorioTauriFlutterReact NativeElectronAlgoritmosFundamentos de algoritmosAlgoritmos esencialesAlgoritmos avanzadosAlgoritmos prácticos
ComunidadProyectosRegistros de desarrolloPromptsProblemas con herramientas de IAEscaparateGuía de la comunidad
ColaboraTransferencia técnicaDesarrollo de sitio webDesarrollo de app de escritorioCanal de lanzamiento y pagosSocio de ventasContacto
ServiciosEscritorio remotoPaquetes de instalación a medida
TASTEDEV
Productos

Herramientas de escritorio

TASTECADAbre planos complejos con ligerezaTASTEFILESSolo los archivos que necesitas, lo más rápido posibleTASTEFTPEl camino más limpio para tus archivosTASTESSHEntre tu servidor y tú, una conexión más sólidaTASTEZIPComprime más rápido, descomprime más seguroTASTEWINMUn gestor de archivos de dos paneles pensado para el teclado

Herramientas para desarrolladores

TASTECODEEdita, compila, depura y prueba apps de Rust en una sola ventanaTASTESTUDIODe la edición a las pruebas remotas y las correcciones con IA aprobadasTASTEETLMueve datos viendo sus valores

Servidores

TASTEREMOTEUn escritorio remoto que funciona en tu propio servidorTASTEGEOUn servidor geoespacial compatible con GeoServer, reconstruido en RustTASTEMAILRecupera el control de tu correo

Inversión

TASTESTOCKTrading automático de acciones según las reglas que tú defines: cuándo y qué

Empezar

DescargasÚltimas versiones de cada productoDocsCómo usar cada productoComprarSuscripciones y licencias perpetuasTodos los productosTodos los productos de un vistazo
Todos los productos
MarketplaceNoticias
Tecnología

Noticias

Noticias de desarrollo de hoyAnuncios oficiales de lenguajes, frameworks, GitHub e IADocumentaciónGuías de lenguajes, frameworks y algoritmos

Lenguajes de programación

RustTypeScriptJavaScriptPythonGoC#JavaCC++KotlinDart

Frameworks

Frameworks web frontendNext.jsReactVue.js · NuxtSvelteKitAngular
Frameworks de servidorSpring BootDjangoFastAPIASP.NET CoreNestJS · Express
Frameworks de apps y escritorioTauriFlutterReact NativeElectron

Algoritmos

Fundamentos de algoritmosAnálisis de complejidad · Ordenamiento · Búsqueda · Estructuras de datos básicas · Árboles y montículosAlgoritmos esencialesRecorrido de grafos · Camino mínimo y árbol generador mínimo · Programación dinámica · Algoritmos voraces · Divide y vencerás · Backtracking (vuelta atrás)Algoritmos avanzadosAlgoritmos de cadenas · Matemáticas y teoría de números · Manipulación de bits · Árboles de segmentos · Union-FindAlgoritmos prácticosEstrategia para entrevistas de código · Caché LRU · Limitación de tasa · Hashing consistente
Toda la documentación de desarrollo
Comunidad
ProyectosDescubre creadores y su trabajoRegistros de desarrolloDecisiones y aprendizajesPromptsInstrucciones reutilizablesProblemas con herramientas de IAProblemas y alternativas de Claude, Codex, GeminiEscaparateResultados terminadosGuía de la comunidadCómo construimos en abierto
Colabora
Transferencia técnicaApps nativas con Rust y eguiDesarrollo de sitio web10 idiomas, cuentas, documentación y descargasDesarrollo de app de escritorioRust y egui, sin WebViewCanal de lanzamiento y pagosFirma, MSI, deb, rpm, AppImage, hashesSocio de ventasRecomiéndanos y gana el 30 %ContactoDesarrollo, alianzas e inversión
Servicios
Escritorio remotoAccede a tu ordenador desde el navegadorPaquetes de instalación a medidaSolo lo necesario, ajustes precargados
Comprar
ES
한국어EnglishDeutschEspañolFrançaisItalianoPortuguês (Brasil)日本語简体中文繁體中文
Iniciar sesión
Iniciar sesión
TASTEDEV

De pequeñas herramientas a un mejor desarrollo.

support@tastedev.netApoyar a TASTEDEV
ProductosLínea de productosComprarDocsDescargasMarketplaceSoporte
ComunidadProyectosRegistros de desarrolloPromptsProblemas con herramientas de IAEscaparate
PolíticasQuiénes somosPolítica de privacidadTérminos de servicioCondiciones de suscripciónReembolsosNormas de la comunidad
CuentaIniciar sesiónRegistrarse
Visitantes
Hoy
Ayer
Vistas totales
Empresa
GXSOFT
Representante
CHOI YOUNG GU
Número de registro mercantil
853-44-00368
Dirección
9F V24, 351 Gyeongin-ro, Michuhol-gu, Incheon, Republic of Korea
Teléfono
+82-10-4404-1523
Correo electrónico
whitecalvin@tastedev.net
Responsable de privacidad
CHOI YOUNG GU

© 2026 TASTEDEVLa información de los productos se basa en fuentes de desarrollo verificadas.Publicado · en mejora

Documentación de React Native
React Native
Getting Started with React NativeProject StructureCore ConceptsData and StateTestingDeployment
Debates

Guía de React Native · 3/6

Core Concepts

Por ahora, este capítulo solo está disponible en inglés.

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.
¿Tienes preguntas sobre este capítulo?
Capítulo anteriorProject StructureCapítulo siguienteData and State

0 comentarios

Comentarios destacadosMás recientes primero

Iniciar sesión · Inicia sesión para dejar un comentario.