WhoBuilt

Callstack’s original state of art of brownfield development

Jul 27, 2022· 8 min· 293 views·Watch on YouTube

An unidentified Callstack speaker, joined by an unidentified host, shares advice on integrating React Native into existing native apps and managing the migration’s technical and team costs.

Expect a steep technical start

A brownfield React Native integration calls for a solid grasp of JavaScript, React Native internals, and native development. The initial setup may require deeper knowledge than ongoing work, especially when documentation is sparse and the team must reverse-engineer existing requirements.

Plan for the people doing the migration

Legacy teams need to keep working in the existing app while the migration proceeds, so new tools and workflows can affect their productivity. At Callstack, the native team had to learn Node.js, Yarn, and Metro, and unfamiliar errors made routine work harder.

Protect reviews and build times

The native team also struggled to review changes it did not understand, despite having important product and technical context. React Native additions increased build times, making repeated app runs slower and worsening the team’s development experience.

Package React Native as a native artifact

Callstack addressed these issues by creating an engine that packages the JavaScript bundle, assets, and native classes into a single artifact. Native teams could consume an AAR or XCFramework through familiar tools such as Maven or CocoaPods, while Callstack prebuilt the React Native components.

Takeaways

  • Budget for deeper React Native and native codebase investigation during initial integration.
  • Account for the legacy team’s tooling familiarity and workload throughout a long migration.
  • Keep changes understandable enough for the team that owns code review.
  • Measure the build-time impact of React Native additions on everyday development.
  • Consider distributing prebuilt AAR or XCFramework artifacts through native package managers.

Mentioned in this talk

Search inside this talk

What was claimed 6

Related talks