~/talk

Responsive Rendering with Next.js

Talkat Next.js Conf 2020 · on Tuesday, 2020-10-27· [web-performance, frontend-architecture]
slides:none on file

Claims a concrete speed win: server-side user-agent detection plus dynamic imports load either a 15 KB desktop carousel library or a pure HTML/CSS mobile carousel, so mobile users avoid extra JS. Implementation uses a UA check (server and client) and warns that SSG forces very granular splitting or builds pull in every view. Also shows a bot-only SEO view using a bot list to render minimal markup. GitHub link and live demo exist and the approach reports success.

AI-written summary · about

  1. 0:00Intro
  2. 0:30Responsive rendering with Next JS
  3. 1:57Server side device detection
  4. 2:34Use ua-parser-js
  5. 3:09Why is this important? Lets check out the carousel component
  6. 3:38Web desktop carousel component
  7. 3:52Web mobile carousel component Only HTML and CSS
  8. 4:15The missing piece of the puzzle dynamic
  9. 4:34With SSG
  10. 4:51Be more careful on how to split our components
  11. 5:44Live example
  12. 6:00Ohh, one more thing! you can also optimize for crawlers
  13. 6:15Implementation with ua-parser-js
~/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.