~/talk

Organizing Code for Cross-Platform Web and Mobile Development

Talkat Chain React 2018 · on Thursday, 2018-07-12· [frontend-architecture, react-native]
slides:none on file

Claims 70% business logic code reuse while keeping platform-specific UI, and organizes modules as a shared business-logic layer plus web and react-native folders with a package.json per target. Uses a babel target alias so imports resolve to web or native builds, demos a telnum input implemented once for formatting and twice for rendering, explains native wrappers that inject UUID references to route singleton native-module calls, and ships a react native toolkit and macros to remove boilerplate.

AI-written summary · about

  1. 0:00Cross-platform development intro
  2. 1:06Code organization importance
  3. 5:42Talk structure
  4. 6:06Writing apps three times
  5. 8:15Merging web and mobile
  6. 9:19Shared business logic
  7. 11:45Shared folders for code
  8. 13:31Cross-platform component
  9. 16:21Web component implementation
  10. 17:44Publishing as node modules
  11. 18:49Native integration strategies
  12. 21:41Native wrapper details
  13. 23:27Routing to components
  14. 27:03Reducing boilerplate
  15. 28:28Key takeaways
  16. 29:10Q&A
~/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.