~/talk

Two platforms, one codebase: Cross-platform React and React Native app at Sportsbet

Talkat NDC Sydney 2018 · 2018-09-17..09-21· [react, react-native]
name:Ben Teese
links:none on file
slides:none on file

Sportsbet re-platforms web and iOS into one codebase using React + React Native, sharing roughly half the code and growing the team to ~20–30; a production responsive web site and embedded React Native iOS components power features like the multi-builder whose business logic is common. The project uses a container–presenter pattern, Redux, TypeScript, Webpack, Metro and React Navigation/Router; platform-specific escape hatches handle styling, animations and navigation. The approach scales (≈150k lines of code), required heavy tooling and onboarding, and succeeds in reducing duplicated work.

AI-written summary · about

  1. 0:00Introduction
  2. 1:03Outline
  3. 2:10The apps
  4. 6:40Native iOS app
  5. 7:20Container presenter pattern
  6. 11:55Container component
  7. 12:27Crossplatform potential
  8. 17:32Styling
  9. 22:35Animation
  10. 23:41Animation on iOS
  11. 25:17Navigation
  12. 29:05Linking
  13. 33:29Escape Hatch
  14. 35:45Summary
  15. 38:34Build tooling
  16. 40:46Branching out
  17. 44:28Wrap up
  18. 45:35Questions
~/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.