~/talk

How to publish a React Native component library

Talkat App.js Conf 2019 · 2019-04-04..04-05· [react-native, component-design]
slides:none on file

Explains concrete portability pitfalls and fixes: assume overflow is hidden on Android, set text background to transparent, and prefer a custom ripple/touchable strategy (mentions react-native-platform-touchable and the ripple used in react-native-paper). Recommends shipping source + ESM/CJS/types (use package.json fields and the files list), automating builds with bob and releases with release-it, preferring TypeScript for libraries, baking in accessibility and RTL, and providing platform-specific fallbacks via Metro (.android/.ios/.native) files.

AI-written summary · about

  1. 0:00Introduction
  2. 1:04UI library challenges
  3. 2:38Cross-platform differences
  4. 8:36Handling notch and safe areas
  5. 12:40Platform-specific code
  6. 14:18Responsive design
  7. 18:31Accessibility best practices
  8. 25:50RTL support
  9. 28:04Linking native libraries
  10. 28:59Documentation strategies
  11. 31:58Static type checking
  12. 34:02Code quality tools
  13. 35:31Publishing the library
  14. 39:56Maintenance advice
~/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.