react-native

Guide React Native development with Zustand, React Query, and testing strategies.

Updated Feb 8, 2026
One-click install
npx skills add https://github.com/AdigunQ/ralph-smart --skill react-native-adigunq
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-native
Source: https://github.com/AdigunQ/ralph-smart/tree/main/knowledges/bootstrap_skills/react-native
Command: npx skills add https://github.com/AdigunQ/ralph-smart --skill react-native-adigunq

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a comprehensive guide and best practices for developing React Native mobile applications, addressing common challenges in project structure, state management, and platform-specific code.

Core Features & Use Cases

  • Project Structure: Outlines a standard, scalable directory layout for React Native projects.
  • Component Patterns: Demonstrates functional components, hook-based logic extraction, and explicit prop interfaces.
  • State Management: Covers local state, global state with Zustand, and server state with React Query.
  • Testing: Includes examples for component and hook testing using React Native Testing Library.
  • Platform-Specific Code: Offers strategies for handling differences between iOS and Android.
  • Anti-Patterns: Lists common pitfalls to avoid in React Native development.

Quick Start

Follow the project structure and component patterns outlined in this skill to build a new React Native screen.

Frequently Asked Questions about react-native

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the best way to structure a scalable React Native project?

A scalable React Native project uses a standard directory layout that separates functional components, hook-based logic, and state management. This structure ensures maintainability and clear separation of concerns as your cross-platform application grows.

How do I manage state in React Native using Zustand and React Query?

State management in React Native using Zustand and React Query separates global client state and server state. Zustand handles global state across components, while React Query manages asynchronous server state, ensuring efficient data fetching and caching.

How do I handle platform-specific code for iOS and Android in React Native?

Handling platform-specific code in React Native involves using targeted strategies to manage differences between iOS and Android. This ensures cross-platform mobile apps run efficiently while addressing unique platform requirements and avoiding common anti-patterns.

How do I test React Native components and hooks?

Testing React Native components and hooks uses the React Native Testing Library to validate UI interactions and hook-based logic extraction. This approach ensures functional components behave correctly and helps identify common anti-patterns before deployment.

What are common React Native anti-patterns I should avoid?

Common React Native anti-patterns to avoid include poor project structure, improper state management, and unmanaged platform-specific code. Recognizing these pitfalls ensures efficient cross-platform mobile app development and maintainable component design.