~/talk

React Loadable: Code Splitting with Server Side Rendering

TalkinRussianat HolyJS 2017 Piter · 2017-06-02..06-03· [react, frontend-architecture]
links:none on file
slides:none on file

A concrete implementation using React Loadable with webpack 2 and Node to enable code-splitting together with server-side rendering. Covers extracting webpack stats, building a server-side require map, collecting which async bundles were used so the server inlines only needed scripts, explains the 200ms loading delay and hover prefetch behavior, documents the unavoidable double render on the server, and shows integration with Redux and Redux-Saga.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00Large bundle problem
  3. 5:50Code splitting tools
  4. 7:45Component splitting
  5. 10:18React Loadable basics
  6. 14:42Flicker on load
  7. 16:51Server Side Rendering
  8. 19:52SSR code splitting issues
  9. 22:31Sync loading fix
  10. 24:15Webpack bundle stats
  11. 25:42SSR demo
  12. 28:53Pre-render data
  13. 31:21Static data provider
  14. 34:02SSR data demo
  15. 36:52Summary and usage
  16. 37:58Additional tools
  17. 39:24Q&A
~/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.