Welcome to the 22nd and second late 😅 edition of React Native Weekly!
I suffered a leg injury while playing volleyball and I needed some rest, but here we are.
Dynamic color borders RNTester example
DynamicColorIOS in action:
Fix Undefined symbol: _swift_FORCE_LOAD$_swiftFileProvider when building with Xcode 13
This change fixes Xcode 13 build error in HelloWorld template.
Phillip Pan email@example.com does not yet cover:
- iOS Dynamic Colors
- Variant Colors
Updated TextInput autoCompleteType prop to autoComplete 2/2 (#26010)
This is a breaking change, you can expect the
autoCompleteType prop on TextInput to be just
Warning for legacy Native Modules
Allow Modal to handle hardware escape key in the same way the back button is handled (#31564)
On Android, when a hardware keyboard is connected pressing the escape key will partially dismiss an active
<Modal> without calling the
onRequestClose callback. The modal will disappear, but the underlying activity may still be present, blocking interaction with the main app below and leaving things in a partially broken state.
This change fixes this issue. This is only present in Android.
Fix TextInput Cursor jumping to the right when the placeholder null [Android]
Quote from change:
The null value causes the cursor to jump to the right in a TextInput. The fix replaces the placeholder null value with an empty string which avoid calling setHint(null) as causes the placeholder to jump to the right
Tweet on misconception of React Native’s performance
Ashoat Tevosyan tweeted a very cool thread about the misconception that performance on native apps is by default better than React Native. He explained in his thread how the multi-threaded model of React Native can yield better performance than native, specially with JSI/TurboModules enabled.
I have witnessed this on apps running on Android TV.
React Native Document Picker was rewritten in TS
That Is It!
That’s it for this week. If you want to see more checkout the previous week’s posts here. Subscribe to get notified when new posts are out = )