Skip to content

Upgrading react-native 0.44 to 0.45

Breaking0.44.3 → 0.45.1Breaking7New25Changed51Fixed38Other24

BreakingUpgrade verdict

7 breaking changes.

  • You can no longer import React from react-native. Import it from react instead.
  • iOS projects using Cocoapods must add a bridge dependency to their Podfile.
  • Removes the RCTBatchedBridge rule and all its uses from the tree.
  • Removes WebWorker support from NetworkingModule.
Top 3 of 7 that need code or config changes

Adds create-react-class ^15.5.2, errno >=0.1.1 <0.2.0-0, merge-stream ^1.0.1, prop-types ^15.5.8, xtend >=4.0.0 <4.1.0-0.

Drops immutable, imurmurhash, worker-farm.

Installs 584 packages in all (was 581).

Breaking7
Removes React forwarding and wrong import warnings; importing 'react' modules from 'react-native' is now an error.
Updates podspecs to support and default to the C++ bridge.
BatchedBridgeCxxBridge
Removes the RCTBatchedBridge rule and all its uses from the tree.
RCTBatchedBridge
Removes WebWorker support from NetworkingModule.
NetworkingModule
Removes WebWorker support from Timers.
Timers
Drops support for WebWorkers.
WebWorkers
Makes getItem and getItemCount required props on VirtualizedList.
getItemgetItemCountVirtualizedList