1. React
  2. Chain React
  3. 2018
  4. Organizing Code for Cross-Platform Web and Mobile Development

Organizing Code for Cross-Platform Web and Mobile Development

Robert Scarano at Chain React 2018

For teams that deliver code for the web, android, and iOS, we want to avoid writing all of our logic three times, in three different languages, across three different platforms. We will share how our team was successful in developing features of our platform that realized 70% business logic code re-use between web and mobile and even more re-use between Android and iOS. We will discuss the motivations for when it is right to code-share, how to organize your React code and build configurations to accomplish code sharing, and how we approach integrating React components into native Android and iOS app.