expo-react-native-javascript-best-practices
Installation
SKILL.md
Expo React Native JavaScript Best Practices
Guidelines for building high-quality Expo React Native applications with JavaScript, focusing on clean code, modularity, and performance.
Code Style and Structure
- Clean, Readable Code: Ensure your code is easy to read and understand. Use descriptive names for variables and functions.
- Functional Components: Prefer functional components with hooks (useState, useEffect) over class components
- Component Modularity: Break components into smaller, reusable pieces with single responsibility
- Feature-Based Organization: Group related components, hooks, and styles into feature directories (e.g., user-profile, chat-screen)
Naming Conventions
- Variables and Functions: Use camelCase (e.g.,
isFetchingData,handleUserInput) - Components: Use PascalCase (e.g.,
UserProfile,ChatScreen) - Directories: Use lowercase hyphenated names (e.g.,
user-profile,chat-screen)
JavaScript Usage
Related skills
More from mindrally/skills
fastapi-python
Expert in FastAPI Python development with best practices for APIs and async operations
8.6Knextjs-react-typescript
Expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI and Tailwind
2.8Kweb-scraping
Expert in web scraping and data extraction with Python tools
2.3Kcomputer-vision-opencv
Expert guidance for computer vision development using OpenCV, PyTorch, and modern deep learning techniques for image and video processing.
1.9Kaccessibility-a11y
Implement web accessibility (a11y) best practices following WCAG guidelines to create inclusive, accessible user interfaces.
1.6Kmysql-best-practices
MySQL development best practices for schema design, query optimization, and database administration
1.6K