Skip to content

React Native team recaps H2 2021 and New Architecture plans

updated

The React Native team has published a recap of the second half of 2021, covering work on the open-source repository, community engagement, release processes and plans for the New Architecture. The post arrives shortly after the release of React Native 0.67.

Repository health

In H2 2021 the team focused on reducing OSS debt in the repository, mainly around pull requests, and built an internal process so that new PRs are addressed in a timely manner. The post highlights a selection of community contributions, grouped by area:

  • Accessibility: #31630 added support for entrance/exit from collection in FlatList.
  • Crash: #29452 fixed a TextInput Drawable Null Pointer Exception.
  • Display: changes including TouchableNativeFeedback ripple location (#31777), blobs larger than 64 KB on Android (#31789), selectionColor on Android TextInput selection handles (#31007), an Android border positioning regression (#32398), individual dotted/dashed borders on Android (#29099) and numeric font weight values on Android (#29117).
  • Interaction: fixes for TextInput cursor behavior, non-selectable Text in FlatList and onKeyPress with numeric keys on Android, iOS modal dismissal, multiline TextInput cursor movement and taps outside parent bounds on Android.
  • Performance: optimized font handling on iOS (#31764) and avoiding app component reconstruction on split-screen (#32536).
  • Testing: unit tests for VirtualizedList render quirks (#31401).

Community engagement

The team set a goal to communicate more with the community. Activities during the half included a talk by Joshua Gross at React Native EU on bringing the Fabric renderer to the "Facebook" app, an "Ask Us Anything" on Reddit that received over 100 questions, posts on the Many Platform Vision, Android 12 and iOS 15 gotchas, and the progress and vision for Hermes to become the default JS engine, and an appearance by Kevin Gozali on the React Native Radio podcast. At ReactConf 2021, Rick Hanlon presented the unified many-platform vision, while Eric Rozell and Steven Moyes covered React Native Desktop's progress supporting Meta and Microsoft apps. Contributors also dogfooded early drafts of the New Architecture material and helped debug release issues.

New Architecture and releases

The post states: "2022 is going to be the year of the New Architecture in open source." The team has worked with partners, core contributors and library maintainers to gather early feedback and is preparing to release a guide titled Getting Started with the New Architecture, the entry point to a collection of material planned for 2022. Feedback on that material is requested while final details are being completed.

On releases, the team clarified processes and responsibilities, and release coordination now takes place in a dedicated discussions repository with clearer issue reporting. In H1 2022 the team will continue iterating on release responsibilities to support the New Architecture rollout, and invites help testing release candidates.

Beyond mobile

The team notes that it shared its Many Platform Vision earlier in 2021 and rolled out React Native on both Desktop and VR, and that it looks forward to converging platform-specific patterns into the React Native experience.

Source: reactnative.dev