~/talk

One Source to Rule them All

Talkat OpenJS World 2021 · 2021-06-02..06-03· [angular, react-native]
links:none on file
slides:none on file

Claim: one codebase produces both web and native apps by sharing Angular logic and UI layers using Angular + NativeScript and an NX monorepo with NX + xplat generators. The demo builds a “Hobbit Fitness Pal” web app (nx serve) and Android/iOS native apps (nx run) that share libs, services and a meal-add flow with camera capture; the web uses navigator.mediaDevices, native uses camera.takePicture, and it works end-to-end except iOS emulator falls back to the photo library.

AI-written summary · about

  1. 0:00Introduction and goals
  2. 1:26What is NativeScript
  3. 4:15Code sharing fundamentals
  4. 6:45Recommended solutions overview
  5. 7:48Why xplat is my choice
  6. 9:10Setting up xplat
  7. 10:11Creating nx workspace
  8. 11:58Code sharing structure
  9. 12:59Generating shared services
  10. 14:23Generating shared components
  11. 16:30Building the UI
  12. 17:52Running the apps
  13. 18:18Live demo walkthrough
  14. 20:27Camera integration demo
  15. 23:13Conclusion and next steps
~/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.