Skip to content

Upgrade React Native from 0.77.2 to 0.78.3#209

Closed
markmur wants to merge 2 commits into
upgrade-react-native-0.77.2from
upgrade-react-native-0.78.3
Closed

Upgrade React Native from 0.77.2 to 0.78.3#209
markmur wants to merge 2 commits into
upgrade-react-native-0.77.2from
upgrade-react-native-0.78.3

Conversation

@markmur
Copy link
Copy Markdown
Contributor

@markmur markmur commented Jul 14, 2025

What changes are you making?

🔥 MAJOR: React 19 Upgrade

  • React: 18.3.1 → 19.0.0 (Major version jump!)
  • React Test Renderer: 18.3.1 → 19.0.0
  • @types/react: ^18 → ^19.0.0
  • @types/react-test-renderer: ^18.0.0 → ^19.0.0

Core React Native:

  • React Native: 0.77.2 → 0.78.3
  • React Native tooling: 0.77.2 → 0.78.3

Android Configuration:

  • targetSdkVersion: 34 → 35
  • JSC flavor: Updated to io.github.react-native-community:jsc-android:2026004.+

✅ Validation Results:

  • Unit Tests: All 30 tests passing ✅
  • Core Module: Fully functional with React 19 ✅
  • Dependencies: Installed successfully ✅
  • TypeScript: React 19 type issues in sample app (expected) ⚠️

🎯 New Features Available in React Native 0.78 + React 19:

React 19 Features:

  • New Hooks: useActionState, useOptimistic, use
  • Ref as Props: No more forwardRef needed
  • React Compiler: Automatic memoization at build time
  • Enhanced Actions: Better async transition handling

React Native 0.78 Features:

  • Android XML Drawable Support: Load vector drawables as XML resources
  • Metro Client Logs: Opt-in JS log streaming with --client-logs flag
  • Performance Optimizations: Enhanced build-time optimizations

⚠️ Known Issues:

  • Sample App TypeScript: React 19 type compatibility issues in sample app
  • Solution: Core module works fine; sample app types need React 19 migration

PR Checklist

Important


Checklist for releasing a new version

Tip

See the Contributing documentation for instructions on how to publish a new version of the library.

markmur added 2 commits July 14, 2025 16:57
Following React Native Upgrade Helper template changes:

Core Dependencies:
- Update React Native core from 0.77.2 to 0.78.3
- Update React Native tooling packages to 0.78.3
- MAJOR: Update React from 18.3.1 to 19.0.0
- Update React Test Renderer from 18.3.1 to 19.0.0
- Update @types/react from ^18 to ^19.0.0
- Update @types/react-test-renderer from ^18.0.0 to ^19.0.0

Android Configuration:
- Update targetSdkVersion from 34 to 35
- Update JSC flavor to io.github.react-native-community:jsc-android:2026004.+

New Features Available:
- React 19 support with new hooks (useActionState, useOptimistic, use)
- React Compiler for automatic memoization
- Android XML drawable support
- Improved debugging with Metro --client-logs flag
- Enhanced performance optimizations

Module Tests:
- All 30 unit tests passing ✅
- Core module functionality validated
- TypeScript compilation has React 19 type issues in sample app (expected)

New Architecture:
- Remains disabled (newArchEnabled=false) as requested
- Ready for migration when needed

Note: Sample app has React 19 TypeScript compatibility issues that need resolution
Core module works correctly with React 19
@markmur markmur changed the title Upgrade React Native from 0.77.2 to 0.78.3 with React 19 Upgrade React Native from 0.77.2 to 0.78.3 Jul 14, 2025
@markmur markmur closed this Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant