~/talk

4 years of Next.js Lessons Learned

Talkat Vue.js Global 2020 · 2020-09-17..09-18· [javascript, frontend-architecture]
slides:none on file

Four years of Next.js evolution presented as specific milestones: initial n4 template experiment rewrites into a file-based React pages system, adoption by large sites including TikTok, and a shift to a hybrid static+SSR model with mid‑2019’s automatic static optimization and May 2020’s static generation features. Concrete APIs are named: getStaticProps/getStaticPaths/getServerSideProps, build outputs HTML plus lambda functions so pages choose static CDN delivery or per-page server rendering, and the platform Vercel automates worldwide caching and deployment for both static and dynamic sites.

AI-written summary · about

  1. 0:00Intro
  2. 0:304 years of Next.js: lessons learned What Vercel has learned building a React framework for everyone
  3. 0:49React at a Vue.js conference?
  4. 1:46choose your next framework
  5. 2:10build your next framework
  6. 2:42Why Next.js?
  7. 3:24Next.js and Vue
  8. 7:06was amazing to build our pages with
  9. 7:53Lesson: dogfood your project
  10. 8:24Wait. There's more...
  11. 9:15Vue was a huge inspiration to n4
  12. 9:56PHP-like templates with inline JS
  13. 10:57Collocated (SFC)
  14. 12:04So, what happened to n4?
  15. 12:33Create Apps with No Configuration
  16. 12:59Dan Abramov enters the chat
  17. 15:56We ditched templating to play better with the React ecosystem
  18. 16:29Lesson: be adaptible
  19. 19:40Lesson: big markets are big
  20. 23:14Lesson: stick to your guns
  21. 23:33Lesson: stick to the physics
  22. 23:48One small problem: servers
  23. 25:12Static sites: serverless, cheap, reliable, scalable
  24. 25:44No computation Computation
  25. 26:20Automatic CDN caching and purging Fiddling with Cache- Control
  26. 26:53Edge Region
  27. 27:18Thus, Next.js became Hybrid
  28. 27:40First, via automatic static optimization
  29. 30:58Lesson: learn from everyone!
  30. 31:24Lesson: give back
~/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.