~/talk

React Native code reuse: Architecture that works

Talkat Mobile Era 2017 · 2017-10-05..10-06· [react-native, frontend-architecture]
slides:none on file

Claims 85% code reuse between Android and iOS and shows how to reach it: share pure JavaScript logic, keep UI code platform-specific with filename suffixes rather than runtime Platform.OS checks when possible, favor composition over inheritance, and use presenters to keep logic out of views. Covers reusing code with web apps (separate module, different build needs) and pain points like npm link instability, native dependencies leaking into libraries, and the tradeoff between native navigation and declarative approaches.

AI-written summary · about

  1. 0:00Start
  2. 0:37Survey
  3. 1:30The Promise
  4. 4:50Android & iOS
  5. 5:54What CAN'T you share?
  6. 10:38Composition Inheritance
  7. 17:49Web Apps
  8. 18:30Architecture Matters
  9. 26:11Multiple Projects
  10. 30:09Dependency Hell
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.