AI summary by TwinMind
The State of React Native
Theo - t3․gg
42m 3s
Survey Overview & Demographics
- Software Mansion's 2nd annual React Native survey with 2,400 unique respondents (500+ increase year-over-year)
- Age demographics align closely with YouTube analytics (more 55+ than under 18)
- Company size distribution: 25% work at 100-1,000 employee companies, 10% at 1,000+ (vs 20% in JavaScript survey)
- Geographic distribution: India very close to US in respondents, Germany and Brazil also well represented
- Education: 67% have related degree, 15% unrelated degree, 17% no degree
- Experience: 15% less than 1 year, 38% have 2-3 years, 30% have 4-5 years, 16% have 6+ years
- Gender distribution matches YouTube demographics
- Salary comparison to JavaScript survey shows slight skew to higher salaries (2-10% more)
Developer Backgrounds & Open Source Contribution
- Most React Native devs were React devs before (30%), followed by frontend devs not using React, then backend devs
- Smaller portion started with Android/iOS development
- 30% of survey respondents have contributed to open source React Native libraries (773 people)
- 8% have contributed to React Native core
- React Native has 2,666 contributors vs React's 1,600 contributors (despite being newer and having smaller user base)
Industry & Platform Usage
- Popular industry sectors: finance and education apps
- Mobile OS versions: reasonably current, very few targeting really old versions
- Target platforms: Android slightly higher than iOS, web usage at almost 25%
- React Native Skia usage surprisingly low
- Desktop OS: mostly Mac users
- Team sizes: mostly 3-5 people or solo, very few 10+ developer teams
- Most developers have released more than one React Native app
Platform APIs & Features
- Most used platform APIs: camera, notifications, deep links, web view, file system
- These represent functionality not easily available in web browsers
- Hermes runtime adoption very high
- Custom native modules usage improving
- New architecture adoption growing
- V8 and JSC runtime usage dropping
State Management Landscape
- React Query/TanStack Query dominant and growing (huge chunk increase)
- Zustand growing significantly (almost doubling)
- Redux and Redux Toolkit declining in interest but Redux Toolkit appearing and doing well
- MobX maintaining 20% usage (higher than expected for web devs)
- Jotai up to 14%
- Recoil steady to declining
- React hooks usage flat and maxed out
- Overall happiness with state management: only 6% unhappy
Data Fetching Patterns
- 88% still using Axios (concerning trend)
- Fetch API common but lower sentiment than Axios
- TanStack Query growing significantly
- Apollo Client dropping substantially
- tRPC usage almost doubled
- RTK Query appearing
- SWR declining
- Overall happiness suggests developers don't perceive major issues with current data fetching state
Navigation Evolution
- React Navigation flatlining
- Expo Router more than doubled from 12% to 40% (major growth)
- React Native Navigation plummeting
- React Router usage on mobile (concerning)
- Expo Router showing excellent sentiment scores for 1.5-year-old technology
- Overall navigation happiness relatively high
Styling Solutions Explosion
- StyleSheet API (built-in) still over 90% usage, slight decline
- Inline styles growing acceptance
- Styled Components up from 60% to 61%
- NativeWind jumped from 9% to 22% (more than doubling)
- Tamagui went from 6% to almost 20% (huge jump)
- Number of styling libraries doubled in 2023
- Overall happiness: over 10% unhappy (most unhappy category so far)
- Most libraries focus on cross-platform compatibility and advanced theming
Graphics & Animation
- React Native Reanimated dominant with excellent sentiment (0% "used it, wouldn't use again")
- React Native Skia growing massively with great sentiment
- Lottie still popular (concerning for performance)
- React Three Fiber and Expo GL underrated
- Rive starting to pick up as Lottie alternative
- Animation API (built-in) growing
- Overall happiness much better than expected (only 6% unhappy)
Debugging & Development Tools
- Console logs still primary debugging method
- Flipper better but still problematic to set up
- Expo and Meta forming debugging working group
- Major improvements expected in debugging experience over next 1-2 years
- Chrome Dev Tools integration by Expo
- Performance profiling mostly uses Flipper, some native tools
Component Libraries & Testing
- Tamagui ranking high in component libraries
- More unhappiness with component libraries than other categories
- Testing section skipped (not much interest noted)
- Storybook getting decent representation
Popular Libraries & Tools
- Safe Area Context and Gesture Handler should be built-in
- React Native WebView popular (1,000+ of 2,400 respondents)
- Flash List should be way higher usage (better than FlatList)
- Expo Image very useful for on-the-fly compression and cross-platform images
- Vision Camera popular for camera functionality
Architecture Patterns
- Local-first app architecture: mixed interest/awareness
- Concept of apps working offline with queued network requests
- Many developers haven't heard of this approach
Deployment & Build Tools
- EAS Build dominating in interest but lower in actual usage
- Manual building with Xcode still common until EAS setup
- EAS Build and Submit removing deployment pain
- Xcode Cloud mentioned by only 3 people (considered problematic)
- Strong trend toward automated build/deployment tools
- Manual tools like Xcode/Android Studio usage declining
Development Tooling
- Expo tooling completely dominating: CLI, Go, Snack, Config Plugins
- React Native Community CLI tanking (similar to Create React App story)
- Upgrade Helper at 56% usage
- Ignite (Infinite Red's starter) declining
- Microsoft's RNX Kit and Native Test App gaining traction
Technology Stack
- Only 5% writing entirely in JavaScript (71 people)
- Yarn still has strong hold due to historical necessity with React Native
- PNPM and Bun have same usage numbers (showing how long it took for alternatives)
- Expo winning in starter templates
- Create T3 Turbo mentioned (focuses on separate native/web apps connected via tRPC)
Storage & Analytics
- React Native Async Storage standard
- MMKV much faster (WeChat-developed, C++ binding)
- Expo SQLite growing
- Firebase Analytics used by almost half of respondents (concerning dominance)
- Sentry beating Firebase for crash reporting
- PostHog underrepresented despite having React Native support
Alternative Technologies
- Flutter too high in interest (concerning)
- Swift UI getting slightly more positive sentiment
- Jetpack Compose gaining interest (heard positive things)
- Kotlin Multiplatform growing from 4% to 6%
- Cordova essentially dead (1.9% would use again)
- Native Script having rough time
Learning Resources & Community
- React Native docs and Expo docs primary resources
- YouTube over Expo docs for learning
- Podcasts: React Native Radio, The React Native Show mentioned
- Sebastian Lorber's "This Week in React" highly ranked
- Content creators: Theo (t3.gg) ranked #2, William Candillon at 100K subscribers
Community Sentiment & Pain Points
- React Native moving in right direction: massive positivity increase (50% increase in "strongly agree")
- Building React Native apps complexity: clean split on opinions
- Ecosystem changing too fast: mostly neutral to disagree
- Top pain points: debugging (almost 50%), unmaintained packages, dealing with native code
- Top advantages: cross-platform development, hot reloading, community, code sharing, Expo, OTA updates
- Performance and stability concerns lower than error message clarity issues
- Overall assessment: "stable but definitely not boring"
