Next.js by Example
Loại khoá học: Web Development
Develop static websites and full-stack web applications with React, Next.js, and Tailwind CSS
Mô tả
Update: this course has now been revised to include the new App Router features, made stable in May 2023 with Next.js v13.4. The first half of the course covers the new App Router, while the remaining half covers the older — but still supported — Pages Router. All the examples work with the latest Next.js v14 as well.
Dubbed as “The React Framework for the Web”, Next.js makes it easy to build highly optimized web applications by server-side rendering React components.
This course will guide you through learning Next.js by developing a complete project step by step.
Part I will show you how to use Next.js as a Static Site Generator, prerendering all your pages to static HTML, CSS, and JavaScript.
This will teach you fundamental Next.js concepts such as file-based Routing, Prerendering, React Server Components, the differences between Server and Client Components, and how to fetch data in Server Components.
It will also use the popular Tailwind CSS framework for styling, demonstrate how to embed Custom Fonts into your application, and how to make your pages more SEO-friendly with metadata.
The Deployment section will present you the various options for running your application in production, from using a fully-managed platform like Vercel to performing a Static Export that can be uploaded to any web server.
Part II will show you how to use Next.js as a Full-Stack Framework, enabling features such as Dynamic Rendering, Time-based Revalidation, and On-demand Revalidation.
It will use a Headless CMS — Strapi — to store data, and demonstrate how to call its REST API from the Next.js app, and the various options for updating the frontend pages when the data in the CMS changes.
It will also cover Image Optimization, showing how Next.js can convert and resize your images on-demand, and enable lazy-loading by the browser.
Finally, it will demonstrate how to integrate third-party UI components in your app, and when it can still make sense to use Client-Side Data Fetching.
You can follow the example using either JavaScript or TypeScript. The full source code is provided, with an easy way to see the changes made in every lecture.
Bạn sẽ học được gì
Develop web applications with Next·js
Style components with Tailwind CSS
Build fully static websites or full-stack applications
Fetch data from a remote API such as a Headless CMS
Yêu cầu
- Familiarity with modern web development: HTML, CSS, JavaScript, npm
- Familiarity with React, including the useState and useEffect hooks
Nội dung khoá học
Viết Bình Luận
Khoá học liên quan
Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!
Get khoá học giá rẻ ngay trước khi bị fix.
Đánh giá của học viên
Bình luận khách hàng