~/talk

Intelligent lazy loading in React.js

Talkat React Day Bangalore 2022 · 2022-06-08..06-09· [react, web-performance]
slides:none on file

Shows an implementation that pairs React.lazy and dynamic import with webpack hints and a tiny predictive loader that triggers network fetch on hover/focus-based preloading. Bundles stay split so chart code ships only when needed, then prefetch runs at idle using webpack prefetch; after a hover the component loads from cache and click latency drops to a near‑instant/millisecond flash instead of a spinner. Notes tradeoffs for mobile data and accessibility and points to a GitHub repo with the demo.

AI-written summary · about

  1. 0:00Introduction to lazy loading
  2. 1:03Problem with naive bundling
  3. 3:09Naive lazy loading in React
  4. 5:15Prefetching for instant load
  5. 7:44Intelligent lazy loading explained
  6. 9:30Predictive loading strategies
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.