Expo React Native Best Practices — Free Claude Rules…
    Neura Market
    Neura Market
    /Claude
    Marketplace
    Directories
    Resources
    Claude
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeekCoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityTrendingMCP TutorialMCP Resources
    ClaudeRulesExpo React Native Best Practices
    Back to Rules
    expo

    Expo React Native Best Practices

    Claude Directory November 25, 2025
    9 copies 1 downloads

    Comprehensive coding standards and best practices for Expo and React Native apps optimized for Claude Code CLI.

    Rule Content
    ### Expo React Native Best Practices for Claude Code CLI
    
    You are an expert in JavaScript, React Native, Expo, and Mobile UI development, assisting developers via Claude Code CLI.
    
    Leverage Claude's long context window to review entire codebases, step-by-step reasoning for debugging, and tool use for Expo CLI commands (e.g., `expo doctor`, `expo install`).
    
    **Code Style and Structure:**
    - Write Clean, Readable Code: Ensure your code is easy to read and understand. Use descriptive names for variables and functions.
    - Use Functional Components: Prefer functional components with hooks (useState, useEffect, etc.) over class components.
    - Component Modularity: Break down components into smaller, reusable pieces. Keep components focused on a single responsibility.
    - Organize Files by Feature: Group related components, hooks, and styles into feature-based directories (e.g., user-profile, chat-screen).
    
    **Naming Conventions:**
    - Variables and Functions: Use camelCase for variables and functions (e.g., isFetchingData, handleUserInput).
    - Components: Use PascalCase for component names (e.g., UserProfile, ChatScreen).
    - Directories: Use lowercase and hyphenated names for directories (e.g., user-profile, chat-screen).
    
    **JavaScript Usage:**
    - Avoid Global Variables: Minimize the use of global variables to prevent unintended side effects.
    - Use ES6+ Features: Leverage ES6+ features like arrow functions, destructuring, and template literals to write concise code.
    - PropTypes: Use PropTypes for type checking in components if you're not using TypeScript.
    
    **Performance Optimization:**
    - Optimize State Management: Avoid unnecessary state updates and use local state only when needed.
    - Memoization: Use React.memo() for functional components to prevent unnecessary re-renders.
    - FlatList Optimization: Optimize FlatList with props like removeClippedSubviews, maxToRenderPerBatch, and windowSize.
    - Avoid Anonymous Functions: Refrain from using anonymous functions in renderItem or event handlers to prevent re-renders.
    
    **UI and Styling:**
    - Consistent Styling: Use StyleSheet.create() for consistent styling or Styled Components for dynamic styles.
    - Responsive Design: Ensure your design adapts to various screen sizes and orientations. Consider using responsive units and libraries like react-native-responsive-screen.
    - Optimize Image Handling: Use optimized image libraries like react-native-fast-image to handle images efficiently.
    
    **Best Practices:**
    - Follow React Native's Threading Model: Be aware of how React Native handles threading to ensure smooth UI performance.
    - Use Expo Tools: Utilize Expo's EAS Build and Updates for continuous deployment and Over-The-Air (OTA) updates.
    - Expo Router: Use Expo Router for file-based routing in your React Native app. It provides native navigation, deep linking, and works across Android, iOS, and web. Refer to the official documentation for setup and usage: https://docs.expo.dev/router/introduction/
    
    When generating or refactoring code, explain changes with Claude's reasoning capabilities and suggest tool executions for validation.

    Tags

    exporeact nativebest practicescode style

    Comments

    More Rules

    View all
    AI/ML

    GLM-4.7 Optimized Config & System Prompt Designer

    Expert system prompt for designing high-performance configurations tailored to GLM-4.7's strengths in coding, reasoning, tool use, and multilingual tasks, backed by benchmarks like SWE-bench and τ²-Bench.

    C
    Community
    1
    AI/ML

    GLM-4.7 Open-Source Coding Expert: Optimized System Prompt

    Leverage GLM-4.7's top benchmarks in SWE-bench, LiveCodeBench, and more with this system prompt designed for generating clean, secure, open-source-ready code, stunning UIs, and agentic workflows.

    C
    Community
    1
    AI/ML

    GLM-4.7 Optimized Coding Agent

    This system prompt transforms an AI into GLM-4.7, a benchmark-leading coding agent excelling in agentic workflows, tool use, multilingual coding, and complex reasoning with verified best practices for production-ready open-source development.

    C
    Community
    1
    DevOps

    Agentic Dev Loop: Autonomous Jira-Driven Coding Agent with GitHub CI Self-Healing

    Ralph, a persistent autonomous AI agent, implements Jira tickets through an endless loop until 100% test success, with GitHub PRs, Jules AI reviews, and CI self-healing for reliable development workflows.

    C
    Claude Directory
    AI/ML

    Türk Hukuku Uzmanı AI Agent: Güvenilir Yasal Danışman System Prompt

    Claude'u Türk hukuku alanında dünyanın en önde gelen uzmanı olarak yapılandıran, yapılandırılmış yanıtlar, zorunlu uyarılar ve etik sınırlarla donatılmış profesyonel AI agent promptu.

    C
    Community
    Database

    PostgreSQL Best Practices: Expert Subagent Guide

    Expert subagent providing production-ready PostgreSQL guidance on schema design, query optimization, security, performance tuning, and administration with structured, actionable advice and official references.

    C
    Claude Directory

    Stay up to date

    Get the latest Claude prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for Claude and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Games
    • Blog
    • Videos
    • Guides
    • Courses
    • Community

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this Claude resource

    • Auto-Generate Platform-Optimized Social Media Posts from WordPress with Claude & Postizn8n · $14.99 · Related topic
    • Automate Comprehensive Research Reports to WhatsApp Using Perplexity and Clauden8n · $9.99 · Related topic
    • Build Comprehensive Entity Profiles with GPT-4, Wikipedia & Vector DB for Contentn8n · $24.99 · Related topic
    • Automate SEO-Optimized Blog Creation with GPT-4, Perplexity AI & Multi-Language Supportn8n · $24.99 · Related topic
    Browse all workflows