~/talk

React Native Brownfield: Lessons from the Trenches

Talkat React Native EU 2018 · 2018-09-05..09-06· [react-native]
slides:none on file

Practical account of embedding React Native into an existing app used by millions: a brownfield integration that powers subscription upsell screens for KeepSafe, uses react native event bridge to send dismissScreen and purchaseItem (SKU) events to native code, integrates with the app’s Apple Pay/native purchase system, and loads screen configs from a build-time JSON. Example is open sourced on GitHub, supports CodePush for JS-only updates, and proves the pattern works when native changes are avoided.

AI-written summary · about

  1. 0:00Start
  2. 1:23What is a Greenfield App?
  3. 1:34What is a Brownfield App?
  4. 1:54Should I do this?
  5. 3:03In theory, React Native allows your frontend engineers to be -2-3x as productive
  6. 6:14In other words, a Brownfield integration potentially nullifies many of the advantages of React Native.
  7. 6:24One way to look at tools like React Native is via Return on Investment (ROI).
  8. 6:36To a software engineer, the investment is the time it takes to learn the tool you plan on using
  9. 6:47A positive ROI should in the long run-either save time of increase the pace of development.
  10. 7:05So who would a Brownfield integration be a good investment for?
  11. 7:38Which Organizations should try a Brownfield integration?
  12. 7:58Ideally, an organization that already has a web team that uses React
  13. 9:32It's important to choose the right project
  14. 9:42So, how do you pick the right project for a Brownfield integration?
  15. 11:52UlKont 2017 An iOS Developer's take on React Native
  16. 13:10If you want intrastructure to be widely adopted its important to build trust in both you and the
  17. 13:24Ideally, your first Brownfield project should be something simple and qualable
  18. 16:10What parts of this demo are React Native?
  19. 17:01How do we do this?
  20. 17:54React Native emits an event in Javascript with an SKU
  21. 20:08What does a purchase event look like in Javascript?
  22. 20:47What does a purchase event look like in Native?
  23. 21:37What does all of this look like in Javascript?
  24. 23:56What does this all look like in Native Code?
  25. 25:11How do I apply this process?
~/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.