~/talk

Building Cross-Platform Component Libraries for Web and Native with React

Talkat React Advanced 2021 · 2021-10-22..10-23· [react, react-native, component-design]
links:none on file
slides:none on file

Claims a practical way to share one codebase by using single-file components with .native/.web swaps and a utils layer that maps tags and props, uses styled-components for cross-platform styling, Storybook for parallel previews and react-native-webview/iframe pairs for platform-specific pieces, and ships an npm-packaging script to avoid bundling native code. A live-content feature for a large news org spans four apps, ships an MVP in under three months and serves millions of users, with caveats around responsive layout, animations and prop name mismatches.

AI-written summary · about

  1. 0:00Start
  2. 1:35Build Cross-Platform Components
  3. 6:23Cross-Platform Components
  4. 11:02Style Button
  5. 19:06Animations
  6. 19:36Prop Mismatch
  7. 20:18Component Library
~/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.