Repository navigation
v10.0.1 - Enhanced Reload Mechanism
π What's New in v10.0.1
β¨ Enhanced Reload Mechanism
This release introduces a new and improved reload mechanism in the react-native-code-push fork, aligning with the latest React Native practices.
π Changes
-
Added
RCTReloadCommandImport:
Leveraging theRCTReloadCommandfor handling reloads in a more robust and flexible manner. -
Updated Reload Logic:
- Replaced the direct call to
[super.bridge reload]withRCTTriggerReloadCommandListeners. - This ensures better compatibility with the latest React Native updates and reduces potential issues arising from manual reloads.
- Replaced the direct call to
π Why This Update?
- Aligns with React Native's recommended practices for reload functionality.
- Provides a more stable and maintainable way to handle app reloads.
- Improves compatibility with newer React Native versions.