Skip to main content

react-native

React Native patterns — New Architecture (Fabric/TurboModules), Expo, navigation, performance

설치로 이동

소스 정보

저장소
xoai/sage
최근 소스 활동
2026년 7월 11일 05:09
감지된 SKILL.md 언어
영어
스타
26
포크
7

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
10 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
react-native
description
React Native patterns — New Architecture (Fabric/TurboModules), Expo, navigation, performance
version
1.0.0
type
knowledge
layer
framework
requires
{"sage":">=1.0.0","skills":["mobile","react"]}
activates-when
{"detected":["react-native","expo"]}
tags
["react-native","expo"]
# react-native **Layer 2 — Framework Pack** React Native patterns for the New Architecture era (0.76+). Fabric, TurboModules, Expo, navigation, and the mistakes agents make from old Bridge-era training data. ## Philosophy React Native underwent a fundamental architectural shift. The old Bridge (async JSON serialization between JS and native) is replaced by JSI (direct synchronous C++ references). Fabric replaces the old UI Manager. TurboModules replace legacy Native Modules. Starting from RN 0.82, the New Architecture is always-on and can't be disabled. LLMs trained on 2018-2023 content produce Bridge-era patterns: old lifecycle methods, legacy navigation libraries, manual native module boilerplate. This pack establishes New Architecture as the baseline and corrects stale patterns. ## What's Included | Type | Files | Coverage | |------|-------|----------| | Patterns | 7 | New Architecture, Expo workflow, navigation, state management, native modules, lists, styling | | Anti-patterns | 5 | Bridge-era patterns, wrong navigation library, blocking JS thread, inline styles everywhere, unnecessary native modules | | Constitution | 1 | 5 React Native-specific principles | | Gate | 1 | RN pattern compliance check | ## Stack Integrations (detection-gated) When `expo` is detected, read `integration/expo-integration.md` for the Expo + React Navigation + Zustand + MMKV + TanStack Query seams — navigation guards, store hydration, offline cache, and Expo Router auth flows — that the individual docs don't cover together. This folds in the former `stack-react-native-expo` skill; the content is unchanged. Constitution: `constitution/expo.constitution-additions.md` · anti-patterns: `anti-patterns/expo-anti-patterns.md`.
GitHub에서 보기