full-stack-skills/react-skills

react-native

Provides comprehensive guidance for React Native development including components, navigation, native modules, platform-specific code, and mobile app development.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/full-stack-skills/react-skills --skill react-native

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

When to use this skill

Use this skill whenever the user wants to:

  • 用 React Native 开发跨平台移动应用、原生组件与桥接
  • 配置 Metro、原生依赖、调试与发布

How to use this skill

  1. 核心:View、Text、FlatList、StyleSheet;导航(React Navigation);原生模块与链接。
  2. 运行:npx react-native run-ios/run-android;Metro、模拟器与真机。
  3. 参考:https://reactnative.dev/docs/getting-started

Best Practices

  • 列表用 FlatList 与优化;避免在主线程重计算。
  • 原生依赖与版本匹配;测试双端与发布流程。

Keywords

react native, 跨平台, 移动端, Metro

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills