Przejdź do treści
Biblioteka skilli
Programowanie · Planowanie

react-native-architecture

/react-native-architecture

Strukturyzuje aplikacje React Native wokół wyraźnych granic modułów natywnych i uczciwie ocenia, kiedy RN pasuje, przy starcie lub audycie bazy kodu albo porównaniu z podejściem w pełni natywnym.

Repozytorium
AI-SKILLS ↗
Licencja
MIT
Ostatnia zmiana repozytorium
05.09.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 05.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Strukturyzuje aplikacje React Native wokół wyraźnych granic modułów natywnych i uczciwie ocenia, kiedy RN pasuje, przy starcie lub audycie bazy kodu albo porównaniu z podejściem w pełni natywnym.

Oryginalny opis (EN)

Structure React Native apps around clear native-module boundaries and decide honestly when RN fits. Use when starting or auditing a React Native codebase, or weighing RN against fully native development.

Jak działa

  1. Method
  2. Boundaries
Sekcje z nagłówków SKILL.md, w oryginale · 49 linii, 351 słów
Podgląd SKILL.md
---
name: react-native-architecture
description: Structure React Native apps around clear native-module boundaries and decide honestly when RN fits. Use when starting or auditing a React Native codebase, or weighing RN against fully native development.
---

# React Native architecture

React Native earns its keep when one product team ships two platforms with
mostly shared UI logic. The architecture question is always the same: what
lives in JavaScript, what lives native, and how thin is the bridge between
them.

## Method

1. **Decide fit before structure.** RN fits content- and form-driven apps
   with shared business logic. It fights you on heavy real-time graphics,
   background-centric apps (tracking, audio), and deep OS integration on
   day one. If the roadmap is 30%+ platform-specific capability, budget
   for native engineers regardless.
2. **Keep the JS/native boundary explicit and small.** Wrap every native
   capability in one typed TypeScript module (`src/native/`), with its
   TurboModule or Nitro module behind it. UI code imports the wrapper,
   never the module directly; when implementations change, one file
   changes.
3. **Choose libraries by maintenance reality.** Navigation: react
   navigation (JS-driven) unless you need native stack behavior everywhere.
   Lists: FlashList over FlatList for anything long. Animations:
   reanimated, which runs on the UI thread. Every native dependency you
   add is a build-breakage subscription; prefer JS-only where performance
   allows.
4. **Isolate platform divergence.** `Component.ios.tsx` /
   `Component.android.tsx` for small forks; a `platform/` capability layer
   when behavior differs structurally (permissions, files, notifications).
   Scattered `Platform.OS === "ios"` conditionals are the smell to refactor.
5. **Respect the threading model.** JS runs on one thread: no JSON parsing
   of megabyte payloads or sync storage reads during interaction. Push
   heavy work behind `InteractionManager`, into reanimated worklets, or
   into a native module that does the work off-thread.
6. **Wire the escape hatches early.** Crash reporting that symbolicates
   both JS and native stacks, and an over-the-air update service for
   JS-only fixes, with the store-policy limits understood. Retrofitting
   either after the first incident is twice the work.

## Boundaries

- RN does not remove the need to understand iOS and Android; it changes
  how often you touch them.
- Brownfield embedding (RN screens inside an existing native app) is a
  different architecture with its own lifecycle bridging; do not apply
  this layout blindly there.
- Expo's managed workflow accelerates the first year; audit its native
  module coverage against your roadmap before committing.

Wersje

RepozytoriumWynikLicencja
Ta strona · Amey-Thakur/AI-SKILLS90MIT
rootcastleco/rei-skills100MIT
j4flmao/agent-skills100MIT
wshobson/agents100MIT
Vinay7766/omni-orchestrator100Apache-2.0
wesleyegberto/software-engineering-skills95MIT
HoangNguyen0403/agent-skills-standard90MIT

Migawka bazy z 13.11.2026 · wersja paczki d3f24cbacaa5 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100react-native-skills
    Podpowiada zasady React Native i Expo dla list, animacji, nawigacji, obrazów i modułów natywnych przy optymalizacji.
  • 100upgrades
    Podnosi React Native, włącza New Architecture i utrzymuje w zgodzie natywne zależności, przy aktualizacji modułów natywnych.
  • 100react-native-testing
    Testuje komponenty React Native z Jest i React Native Testing Library.
  • 86react-native
    Pomaga tworzyć aplikacje React Native na iOS i Androida, w tym w Expo i interfejsy mobilne.
  • 90react-native
    Pomaga budować natywne aplikacje mobilne w React Native: komponenty, gesty, animacje i API platformy.
  • 100vercel-react-native-skills
    Podpowiada dobre praktyki wydajności w React Native i Expo, na przykład przy listach, animacjach i modułach natywnych.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.