~/talk

Using React Hooks + Capacitor to Access Native Mobile APIs

Talkat React Summit 2022 · 2022-06-17..06-21· [react-native, react]

Capacitor compiles an existing React web app into native iOS and Android projects (MIT licensed) and ships plugins for Camera, Filesystem, Geolocation and more. The @capacitor-community/react-hooks package wraps those plugins into React hooks so code reads like useState/useCallback. The demo uses Camera.getPhoto to return a data URL, runs in an iOS simulator, and displays a selected waterfall image — the plugin and hook integration actually work end to end.

AI-written summary · about

  1. 0:00Start
  2. 1:44Using a Capacitor Plug-In
  3. 3:16React Hooks Camera Plug-In Api
  4. 4:05Demo
~/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.