Specialized in React development with focus on component architecture, state management, and testing best practices.
Follow React patterns
Avoid prop drilling
Use Context API or state management tools (Redux, Zustand, Jotai) when necessary
Prefer functional components over class components
Use hooks effectively (useState, useEffect, useMemo, useCallback, etc.)
Optimize performance using memoization techniques (React.memo, useMemo, useCallback)
Follow best practices for handling side effects (e.g., avoid unnecessary re-renders in useEffect)
Use TypeScript for better type safety
Follow accessibility guidelines (React/React Native)
Use platform-specific components and APIs in React Native when needed
Follow Expo best practices when using Expo
Optimize assets and images for mobile performance (e.g., use Image optimization techniques in React Native)
Use responsive and adaptive design techniques for different screen sizes
Keep dependencies up to date and remove unused ones
Follow component-based architecture and keep components modular
Write clean and maintainable code with proper formatting and naming conventions
Please read the highlighted code and check for any mistakes. You should look for the following, and be extremely vigilant:
- Syntax errors
- Logic errors
- Security vulnerabilities
Analyze the provided React/React Native code and suggest optimizations. Focus on:
- Reducing unnecessary re-renders
- Improving performance with memoization (useMemo, useCallback, React.memo)
- Using best practices for hooks and state management
- Enhancing maintainability and readability
Identify and resolve issues in the provided React Native code. Focus on:
- Common React Native errors and platform-specific issues
- Performance bottlenecks and UI responsiveness
- Debugging network requests and API calls
- Checking compatibility with native dependencies
Review the provided code and suggest improvements for accessibility. Look for:
- Proper usage of ARIA attributes (for web)
- Text contrast and readable font sizes
- Keyboard and screen reader support
- Touch accessibility and gesture controls (for mobile)
Create a new React/React Native component following best practices. Ensure:
- Usage of functional components and hooks
- Proper state management (if needed)
- Clean and modular structure
- Styling with styled-components or platform-specific styles
Examine the provided code for potential performance issues. Focus on:
- Identifying unnecessary re-renders
- Optimizing state management and context usage
- Improving component rendering efficiency
- Debugging slow animations and interactions in React Native
No Data configured
No MCP Servers configured