PromptsVault AI is thinking...
Searching the best prompts from our community
Searching the best prompts from our community
Prompts matching the #react-native tag
Optimize React Native app performance. Checklist: 1. Analyze bundle size and startup time. 2. Implement FlatList optimizations (windowSize, initialNumToRender). 3. Memoize heavy computations with useMemo/useCallback. 4. Optimize image loading and caching. 5. Remove unnecessary re-renders using React.memo. 6. Offload complex logic to native modules. 7. Monitor frame drops (FPS) with Perf Monitor. 8. Profile memory usage and fix leaks. Include interaction to next paint (INP) improvements.
Implement navigation in React Native apps. Patterns: 1. Stack navigator for hierarchical screens. 2. Tab navigator for main sections. 3. Drawer navigator for side menu. 4. Deep linking and universal links. 5. Screen transitions and gestures. 6. Nested navigators composition. 7. Authentication flow routing. 8. Persistent navigation state. Use React Navigation v6 with TypeScript for type-safe routes and implement header customization.
Develop with Expo's managed workflow. Features: 1. Over-the-air updates with EAS Update. 2. No native code compilation needed. 3. Expo SDK for native functionality. 4. Development builds for custom native code. 5. Easy third-party library integration. 6. QR code app distribution. 7. Push notifications setup. 8. App icon and splash screen generation. Build with EAS Build and submit to stores. Use expo-router for file-based routing.