~/talk

Building JavaScript bundles for React Native

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

Metro is the JavaScript bundler used by React Native and it aims for sub-second reloads by combining layered caches (including an HTTP remote cache used at Facebook), parallel transforms via worker processes, and a delta algorithm that sends only changed modules (default on Android). Bundles use numeric module IDs, a small runtime that requires module 0 to start, and two serializers for code and sourcemaps. For production Metro supports RAM bundles with lazy native injection and the inline requires transform to enable lazy parsing and eliminate unused modules.

AI-written summary · about

  1. 0:00Introduction to Metro
  2. 1:09Why Metro for React Native
  3. 7:26How Metro builds bundles
  4. 11:57Speeding up transformations
  5. 14:26Delta bundler for fast reloads
  6. 16:33Serializing the dependency graph
  7. 17:37RAM bundles for React Native
  8. 20:51Inline requires and code elimination
  9. 22:15Key takeaways and resources
~/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.