~/talk

Reducing bundle size: Previewing a new Firebase for the web

Talkat Google I/O 2021 · 2021-05-18..05-20· [web-platform, web-performance]
slides:none on file

New Firebase JavaScript SDK rewrites exports into modular SDK functions so bundlers like webpack rollup and esbuild can tree-shake unused code, cutting the main Firebase bundle from ~59 KB to ~30 KB (~50% smaller). Firestore Lite offers a Firestore Lite build that drops realtime and offline persistence for ~80% smaller size. A compat library enables incremental migration by exposing the v8 API while using the modular runtime and lets teams remove compat later to realize full savings.

AI-written summary · about

  1. 0:00Introduction
  2. 1:17Javascript Modules
  3. 4:54Current Firebase JS SDK
  4. 6:45New Firebase JS SDK
  5. 8:33Upgrading
  6. 10:22Outro
~/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.