Mobile Framework Guidelines

Framework-specific guidelines for mobile development across React Native, Flutter, Swift, and Kotlin.

Mobile Framework Guidelines

This section provides cursor rules and guidelines specific to popular mobile development frameworks. Learn how to effectively use cursor rules to enhance your development workflow across different mobile platforms.

Available Frameworks

React Native

Discover cursor rules tailored for React Native development:

  • Component and native module navigation
  • Platform-specific code handling
  • Native bridge integration
  • Learn More

Flutter

Explore cursor rules designed for Flutter development:

  • Widget tree navigation
  • State management patterns
  • Platform channels handling
  • Learn More

Swift

Learn cursor rules for iOS native development:

  • SwiftUI component patterns
  • UIKit integration
  • iOS lifecycle management
  • Learn More

Kotlin

Master cursor rules for Android development:

  • Jetpack Compose navigation
  • Kotlin coroutines handling
  • Android architecture patterns
  • Learn More

Common Features

Cross-Platform Navigation

  • Navigate between platform-specific code
  • Smart component/widget traversal
  • State and prop management
  • Native module integration

Code Manipulation

  • Framework-specific refactoring
  • Smart component generation
  • Native bridge handling
  • Platform-specific optimizations

Best Practices

  1. Platform-Specific Patterns

    • Use platform-aware navigation
    • Handle native integrations properly
    • Follow platform conventions
    • Implement proper error handling
  2. Performance Optimization

    • Optimize rendering performance
    • Handle memory efficiently
    • Consider battery impact
    • Implement proper caching
  3. Development Experience

    • Streamlined workflow
    • Quick platform switching
    • Enhanced productivity
    • Proper debugging support
  4. Testing Strategy

    • Unit test components
    • Integration test flows
    • Platform-specific testing
    • End-to-end validation

Benefits

  • Consistent development patterns
  • Improved code quality
  • Better performance
  • Easier maintenance
  • Enhanced team collaboration
  • Streamlined platform handling

Whether you're developing with React Native, Flutter, Swift, or Kotlin, these framework-specific guidelines will help you maintain consistent patterns and best practices across your mobile development workflow.