Skip to content

Upgrading react-native 0.50 to 0.51

Breaking0.50.4 → 0.51.1Breaking8New24Changed16Fixed23Other23

BreakingUpgrade verdict

8 breaking changes.

  • Removes deprecated APIs from RCTUIManager.
  • Removes deprecated APIs from RCTShadowView.
  • Renames the I18nManager Left/Right swap methods.
  • Negative border radius or width values are no longer accepted.
Top 3 of 8 that need code or config changes

Adds babel-plugin-transform-exponentiation-operator ^6.5.0.

Installs 719 packages in all (was 720).

Breaking8
Removes deprecated APIs from RCTUIManager.
RCTUIManager
Removes deprecated APIs from RCTShadowView.
RCTShadowView
Renames the I18nManager Left/Right swap methods.
I18nManager
Considers negative border radii and widths invalid.
borderRadiusborderWidth
Makes [RCTShadowView localData] a setter only.
RCTShadowViewlocalData
Removes the experimental shouldBridgeInitializeNativeModulesSynchronously option.
shouldBridgeInitializeNativeModulesSynchronously
Removes the experimental shouldBridgeLoadJavaScriptSynchronously option.
shouldBridgeLoadJavaScriptSynchronously
Removes the experimental concept of whitelisted modules.