Next.js by Example
summary
Builds a real app with Next React ReactDOM and a pages directory, demonstrates hot module reloading, automatic routing and scoped CSS via Style JSX, and shows server rendering plus client-side navigation using getInitialProps and isomorphic-fetch to fetch data from an API (he pulls 5,000 photos and the demo strains the laptop). Shows automatic code splitting, prefetching and dynamic imports, and exports static output with next export and deploys with Now — the features work end to end.
AI-written summary · about
chapters (9)
- 0:00Intro
- 4:30Hotcode
- 5:10Setup
- 10:40Automatic Routing
- 12:55Style GSX
- 19:45Server Rendering
- 21:00Fetch
- 25:52Props
- 29:50Automatic code splitting
related talks
15mGetting Started with Next.js
22mUniversal React Apps Using Next.js
40mStatic and Dynamic Next.js
35mNext.js "Universal React Made Easy and Simple"
34mWhat's Next? Exploring the future of React
15mBuilding Isomorphic JavaScript Apps Faster with Next.js
33mUniversal React Apps Using Next.js
15mGetting Started with React
