Closed
Description
We won't meaningfully start on this until we complete the upgrade to RN v0.60, #3548. Filing to have an identifier to refer to. (We're now on v0.60.)
Released 2019-09. Release notes here:
https://facebook.github.io/react-native/blog/2019/09/18/version-0.61
Exciting improvements include:
- "Fast Refresh", which replaces both "live reload" and "hot reload", and is supposed to be more complete and reliable. That'd be a pretty great improvement to the dev experience!
- Flow v0.105. In particular this brings
- (Flow v0.101) the
implicit-inexact-object
flowlint (which will help with some later steps of Convert all object types to exact, or explicitly-inexact #3452) - (Flow v0.100) more-precise React types
- (Flow v0.101) the
- React upgraded to 16.9. In particular this allows us to upgrade react-native-webview; see 44114f7.
- The old RN bug that makes TextInput slow after lots of typing is reportedly fixed: Upgrade to RN v0.61 #3781 (comment)
- A Metro bug which affects Node 12 on Windows is fixed, clearing the way to upgrade to Node 12 everywhere: Upgrade to Node v12 #3780
- We can probably upgrade react-native-unimodules: Upgrade to a react-native-unimodules without privacy-sensitive dead code #4091, and see chat on why v0.61 will help.
- That may also let us drop a bit of Gradle code: #3548 (comment)
Possible incompatible changes, requiring work from us on upgrade, include:
- "Remove React .xcodeproj". IIUC, this basically requires us to have moved fully to CocoaPods, from the old way of configuring the iOS build; I believe we'll do this already as part of the work to upgrade to RN v0.60.
- That Flow upgrade, surely.
- (Surely there will be more. But maybe a lot less than the last couple of upgrades! Discussion at Upgrade to RN v0.61 #3781 (comment) .)