Upgrading react-native 0.44 to 0.45
Breaking0.44.3 → 0.45.1Breaking7New25Changed51Fixed38Other24
BreakingUpgrade verdict
7 breaking changes.
In plain terms
- 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.
Must act 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).
What you must change
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.
BatchedBridgeCxxBridgeRemoves the RCTBatchedBridge rule and all its uses from the tree.
RCTBatchedBridgeRemoves WebWorker support from NetworkingModule.
NetworkingModuleRemoves WebWorker support from Timers.
TimersDrops support for WebWorkers.
WebWorkersMakes
getItem and getItemCount required props on VirtualizedList.getItemgetItemCountVirtualizedList