inflearn logo

Mastering Next.js 16+ with TypeScript: From Fundamentals to the Latest Architecture

This all-in-one course teaches you to build with TypeScript and Next.js 16+ from the ground up to the level of a production-ready project. You’ll learn by implementing the latest Next.js concepts and practical patterns, including the App Router, Server Components, Server Actions, caching, Cache Components, authentication, performance optimization, and deployment.

(4.8) 10 reviews

161 learners

Level Beginner

Course period Unlimited

JavaScript
JavaScript
React
React
TypeScript
TypeScript
Next.js
Next.js
JWT
JWT
JavaScript
JavaScript
React
React
TypeScript
TypeScript
Next.js
Next.js
JWT
JWT

Student missions

Reviews from Early Learners

4.8

5.0

ㅅㅂ

100% enrolled

This course is insane. The value for money is top-tier. I'm a backend developer, but since React was required, I've been using it for over a year. Now that things have shifted to Next.js, I bought this course, and it helps me understand the operating principles of almost every feature needed for real-world work.

5.0

button_

30% enrolled

The missions are already fully designed, so it really feels like you're actually "playing" the mission! Also, there are hints for each mission, and it's great for learning because it summarizes which parts to think about and what can be learned.

5.0

귀한 불도새

21% enrolled

Since I have been taking Sucoding's lectures for a while now, I was looking forward to the Next.js course as well, and as expected, I could feel the meticulousness just from the curriculum. I believe Sucoding's lectures are excellent because they provide a solid foundation and encourage self-directed learning through missions. Even in the age of AI where we might not write code manually as much, fundamental skills are always important. I am currently taking this course to better understand and utilize Next.js since I use it in my actual work, and it has been incredibly helpful. Thank you.

What you will gain after the course

  • You can learn everything about Next.js as of 2026.

  • It was built from the start using the latest version (16). Everything is completely up to date.

  • I can design and implement a Next.js 16+ App Router project from scratch using TypeScript.

  • The ability to distinguish Server Components from Client Components and use them appropriately.

  • You can implement data processing logic without an API by leveraging Server Actions.

  • You can choose Next.js data fetching, caching, and rendering strategies to suit the situation.

  • Learn how to use Unstable_Cache and Cache Components.

  • Learn how to use Next.js and TanStack Query together.

  • I can develop Next.js applications with SEO and performance in mind.

  • Understand Next.js project structures and development patterns you can apply immediately in real-world projects.

  • You can build and deploy your Next.js application.

Next.js made easy for beginners, even without a technical background
🛩 Step 7 of Sucoding's Frontend Roadmap Series! 🛩

A bestseller for getting started with frontend development

A course created by the bestselling author of introductory front-end books!

2022 Published *Coding Self-Study: HTML+CSS+JavaScript*! 🎉
2023 Published *The More You Know, the More You See: Front-End Development*! 🎉
2024 Published *Coding Self-Study: Vue.js*! 🎉
2025 Published *Coding Self-Study: React*! 🎉
2026 Published *AI Self-Study: Your First AI Agent Service*! 🎉

Su Coding is an active author who has written about various areas of frontend development.
All the books they’ve published are bestsellers. 😎
This is a special course created by Su Coding, a leader in frontend education!

I’m curious

What will I learn?

Next.js 16 is a React-based full-stack framework that provides everything you need to build modern web services, including
Server Components (RSC), App Router, data caching and rendering strategies, and SEO and performance optimization.

However, Next.js evolves quickly,
and it’s not easy to determine from the official documentation alone “what you should use in real-world projects”,
or “when to use something on the server versus on the client”.

In this course,
👉 you’ll learn only the essential concepts you need to know in Next.js 16.
Rather than focusing on theory, we’ll cover patterns and guidelines you can apply right away in real projects.

We boldly exclude complex settings and options with limited practical value,

  • Understanding the App Router-based routing structure

  • Clear separation of roles between Server Components and Client Components

  • Data Fetching and Caching Strategies (cache, revalidate, no-store)

  • Master “Cache Components,” one of the latest caching systems

  • Establishing criteria for static rendering (SSG) and dynamic rendering (SSR)

  • The precise meaning of the Loading / Error / Not Found boundaries

  • How Link, Prefetch, and the Router Cache Work

  • Server Actions and practical usage patterns

  • How to Design SEO and Metadata

and is organized around the key topics you’ll encounter most often when working with Next.js 16.

Through this,
even beginners can clearly understand Next.js’s rendering and data flows and
grow into developers who can explain why this code runs on the server
and why this page is cached.

This course goes beyond simply “having used Next.js”—it gives you
the criteria to understand and choose Next.js. 🚀

Even complete beginners are welcome,

I’ll guide you through everything step by step, starting with the basics.

Next.js 16 is built on React, but
when you first encounter it,
unfamiliar concepts like server components, routing structure, rendering methods, and caching can make it feel difficult.

“Why doesn’t this code run on the server?”
“When should I use a client component?”
It’s totally normal to feel confused at first.
Don’t worry!

In this course,
we explain everything step by step, following the flow, starting from the very basics so even those new to Next.js can understand,
.

  • How a page is rendered

  • How the server and client divide their roles

  • When and where the data is fetched.

We explain it in a way that helps you visualize it clearly in your mind, like a picture.

What makes
SuCoding courses special

A core-focused curriculum you can apply directly in real-world projects.

  • Learn only the core concepts from Next.js 16 that are commonly used in real-world projects.

  • We focus on structures and principles you can apply right away in real-world projects, such as App Router, Server Components, data fetching and caching, and rendering strategies.

A hands-on course focused on intuitive, easy-to-follow examples and exercises.

  • We provide step-by-step explanations so even people new to Next.js can understand
    concepts → flow → code in that order.

  • Rather than just copying example code, this course focuses on hands-on exercises where you build and modify the structure yourself, helping you apply what you learn directly to real-world work.

Clearly understand the differences between Server Components and Client Components

  • “Why does this code run on the server?” and “When is a client component needed?” are clearly explained based on the rendering flow.

  • You can naturally understand the difference in mindset between using React alone and using Next.js.

Fully incorporating even the latest TypeScript features

  • Reflecting the latest architecture and recommended patterns of Next.js 16, we’ve structured the course around the most up-to-date syntax and design approaches.

  • We aim to help you become a developer who can adapt flexibly to future updates by focusing on official concepts and how things work, so you won’t be thrown off by version changes.

Practical tips and developer know-how, shared generously

  • We cover common points of confusion and mistakes in real-world work that are rarely mentioned in official documentation.

  • Beyond simply explaining features,
    we also share the design perspectives and principles you need to grow as a front-end developer.

Personalized feedback for students and thorough Q&A support

  • We provide fast and friendly feedback in response to students’ questions.

  • We point out common mistakes and confusing points to maximize each learner’s learning outcomes.

Tailored to beginners
Core curriculum

Section 01 - Getting Ready

In this section, before diving into hands-on practice, you’ll complete the basic preparations for taking the course.
We’ll cover how to download the sample code used throughout the course, provide guidance on the development environment to make your practice more efficient, and show you how to set up custom snippets to reduce repetitive tasks.

Section 02 - Getting Started

In this section, we’ll explore Next.js concepts step by step, starting from the basics, and walk through the process of starting a project for real.
After understanding what kind of framework Next.js is, we’ll compare the direct installation method with the CRA-based installation method and summarize the characteristics of each. Then we’ll review the default folder structure of the generated project and the role of each file, and go over the structure once more before beginning the exercises.

Library vs. Framework

The Concepts of Libraries and Frameworks

Section 03 - Server Components and Client Components

In this section, we take an in-depth look at server components and client components, core concepts in Next.js.
We’ll understand the role of each type of component and explore step by step how they’re created and what determines where they’re placed.

We’ll also explain how server components are imported into client components and how children works within the layout structure.

Finally, we clear up common misconceptions about client components and hydration errors,
and through a hands-on to-do app project, you’ll see for yourself how to divide and design server and client components in a real-world project.

Server Component

Key Strategies for the Component Tree

Section 04 - App Router

In this section, we’ll systematically cover how the Next.js App Router works and its routing structure.
After understanding how URL structures map to folders, we’ll explore key routing patterns such as basic routes, nested routes, and dynamic routes in order.

You will also learn how to handle query strings and design folder structures using private folders and route groups, and clarify the differences between route transition methods using Link and useRouter, and when to use each.

Finally, through a mission, you’ll design and implement routes yourself, completing the overall App Router flow through hands-on practice.

URL structure

App Router flow

Section 05 - Special Routing Files

In this section, we’ll review the roles and behavior of the main routing special files used in the Next.js App Router
.

We’ll examine how to handle error situations with not-found and global-not-found,
compare the differences between layout.tsx and template.tsx, and understand the principles of layout reuse and initialization.

We’ll also review how to design loading states and error boundaries using loading.tsx, error.tsx, and global-error.tsx, then practice separating and applying layouts through a mission to gain hands-on experience using routing special files in real projects.

Layout

(Mission) Layout Separation

Section 06 - Setting Metadata

In this section, we’ll take a step-by-step look at how to set metadata in the Next.js App Router.
First, we’ll learn how to set basic metadata using the metadata object, then explore how the title, absolute, and default options work to determine how metadata is merged and inherited across pages.

Next, we’ll look at how to dynamically generate metadata based on data using the generateMetadata function,
and cover the metadata handling flow in React 19 and the latest changes.

Through this, you’ll develop practical guidelines for designing metadata that take both SEO and user experience into account.

Where Metadata Is Used

Browser tab title

Section 07 - Data Fetching

This section focuses on how to fetch data in the Next.js App Router environment.
First, you’ll learn how the fetch API works in server components, then review loading and error handling from a server component perspective.

After that, we’ll compare data fetching with the use hook and fetching data in client components, and examine the role and limitations of each approach.

We’ll also consider data fetching strategies and the criteria for choosing between server-side and client-side fetching in real-world projects.

Finally, through the mission, we’ll implement data-fetching logic firsthand and put together a polished fetching flow—including loading and error handling—through hands-on practice.

Fetch API

Mission! Data Fetching!

Section 08 - Rendering Strategies

In this section, we’ll revisit the key rendering strategies for web applications—CSR, SSR, SSG, and ISR from the perspective of the Next.js App Router.

After understanding when each rendering method runs and what output it produces,
we’ll examine step by step how Server Components (RSC) work together with existing rendering strategies.

We’ll also practice how to check whether a page is rendered statically or dynamically in a real project, and use situations that are easy to mistake for CSR and common mistakes to clarify the criteria for accurately identifying the rendering strategy.

Finally, we’ll directly examine ISR rendering and consider how to strike a balance between performance and data freshness.

ISR Rendering

RSC Rendering

Section 09 - Caching

In this section, we systematically organize Next.js caching strategies.

First, we’ll build a conceptual understanding of the four caching layers provided by Next.js, then examine when caching occurs and when it is invalidated, focusing on the Data Cache.

Then use revalidatePath and revalidateTag with server actions to implement on-demand invalidation yourself. Rather than merely using the APIs, you’ll establish criteria for choosing the right invalidation strategy for each situation.

You’ll also compare Request Memoization, Full Route Cache, and Router Cache to clearly understand where each cache operates and its scope.

Finally, through missions, you apply caching strategies to a post list and a to-do app, gaining hands-on experience with how caching actually works.

Caching

Caching Visual Aid

Section 10 - Route Handlers

In this section, we cover how to implement server-side logic in the App Router environment.

After understanding the basic structure of route handlers, we’ll go step by step through handling query strings, dynamic segments, and request body data. Then we’ll practice reading and setting headers and cookies, and see how authentication and user identification are handled at the server level.

You will also cover caching strategies in route handlers, learning how to design real-world server processing flows that go beyond simple API implementation.

Finally, you’ll complete the workflow for server-client collaboration through the team invitation UI and Excel download assignment.

Using Postman

Understanding Route Handlers

Section 11 – Images and Fonts

This section covers Next.js optimization strategies.

First, understand how the next/image component works internally and explore how 1x/2x ratios and srcset are generated. Then practice efficiently serving images in responsive environments using the sizes attribute.

You’ll also use next/font to apply web and local fonts, and examine how font loading strategies relate to layout shifts. Finally, you’ll integrate it with Tailwind and learn how to apply optimization strategies in a real-world project.

Team Invitation Mission

Download the task management spreadsheet

Section 12 – Global Client State Management and Theme Switching

In this section, we compare and analyze global state management strategies.

First, we’ll examine the limitations of prop drilling and cover a basic approach to global state management using the Context API. Then, we’ll compare Redux Toolkit and Zustand, outlining their respective pros and cons and when to use each.

We also cover Tailwind-based dark/light mode implementation and theme strategies using next-themes. Finally, you’ll put state management and theme-switching logic into practice through a calculator challenge and learn the process of designing global state.

Applying dark mode

Why does flickering occur?

Section 13 – Building a Movie Website

In this section, you’ll bring together and apply everything you’ve learned so far through a hands-on project.

Using the TMDB API, we build a home page, detail pages, and search functionality to experience the structure of a real-world service. Along the way, we apply image optimization and data-fetching cache strategies while also considering security measures.

We also introduce TanStack Query to compare client-side data-fetching strategies and gain a clear understanding of how they differ from server-side fetching. Finally, we deploy the application and examine how rendering strategies change after deployment.

Movie website

Movie Search Page

Section 14 – Advanced Routing Patterns

This section covers advanced routing techniques in Next.js.

Understand parallel routes and intercepting routes, and apply them to a real project to implement a modal-based structure.

Rather than simply implementing functionality, it approaches the route structure from a design perspective, examining how it connects to the user experience.

We’ll also examine how the router cache works within this structure and understand the relationship between advanced routing and caching strategies.

Finally, we’ll expand the movie site and complete the hands-on implementation.

Advanced Routing

Expanding Advanced Routing

Section 15 – Cache Components

In this section, we take an in-depth look at Cache Components, a core feature of Next.js 16.

Understand the principles of caching based on use cache and analyze the scope of impact of Cache Components.

We also examine cases where caching is not possible and how nondeterministic operations affect the cache.

Next, you’ll practice controlling cache lifetimes with cacheLife and design a strategy for combining static and dynamic content.

This section establishes criteria for applying the latest caching model in practice.

Cache Component Theory

Instagram Application

Section 16 – Final Project

In the final section, you will complete a real-world architecture.

Connect MongoDB and inspect the API structure using Swagger.

Next, apply light and dark modes and implement Kakao login using parallel routes and intercepting routes.

Rather than just implementing a basic login feature, we design token strategies and authentication flows to build a production-grade system.

This section integrates all the rendering strategies, caching, routing, and server logic you’ve learned so far.

Final Project

Swagger

Just a moment!

Did you know that courses have a “style” that suits you, too?

Just as a critically acclaimed blockbuster game might not be fun for me,
courses aren’t a perfect fit for everyone.

No matter how highly praised a course is, it may not be right for me,
while an ordinary course for someone else could be the best course for me.

That’s why at least 10% of every course is available for free.
Take a look for yourself and see if my style clicks with yours!

If we’re a good fit,
I’ll show you the fastest path to becoming a frontend developer.
Trust me and follow along! 🚀

Frequently Asked Questions

Q. I'm a complete beginner and don't know anything. Is that okay?
A. Yes, absolutely. This course is tailored for learners who are starting from scratch.

Q. Do I need any prior knowledge?

A. Yes, this course requires prior knowledge of HTML5/CSS3/JavaScript/TypeScript/React.JS.

Important Notes Before Enrolling

Practice Environment

  • Operating System and Version (OS): Windows, macOS

  • Tools Used: Visual Studio Code and Chrome

  • PC specifications: Even a minimum-spec PC capable of web browsing is sufficient.

Learning materials

  • Learning materials for each lecture are provided to support hands-on practice.


Prerequisites and Important Notes

  • Complete beginners with no prior background can also take the course.

  • However, prior study of HTML5/CSS3/JavaScript/TypeScript/React.JS is required.

Recommended for
these people

Who is this course right for?

  • A developer who has tried Next.js but is confused by the App Router and Server Components

  • Developers who want to migrate from Pages Router to the latest Next.js (App Router)

  • A frontend developer who wants to learn Next.js properly with TypeScript.

  • For anyone looking to build a production-grade project with Next.js

  • For those who are familiar with React but haven’t quite grasped the structure of Next.js.

  • Developers looking for a comprehensive overview of development practices based on the latest Next.js 16+

Need to know before starting?

  • Prior knowledge of HTML, CSS, JavaScript, TypeScript, and React is required.

sucoding

Recommended by Inflearn

Inflearn confidently recommends this instructor based on course performance, learner feedback, and consistent effort.

Learners
5,708
Reviews
384
Satisfaction
98%

Sukoding provides both online and offline
coding instruction.

Based on years of offline teaching experience,
we think every day and work tirelessly so that more people can learn coding easily and enjoyably
.

To date, I have published the following five books
and am leading the field of front-end development education::

We also offer a variety of free courses through our YouTube channel.
👇 Visit us now
[YouTube channel link]

You can also quickly check the latest discount news on the official website.
👇 Visit it now
[Official Website Link]

More

Curriculum

All

200 lectures ∙ (29hr 31min)

Course Materials:

Lecture resources
Published: 
Last updated: 

Reviews

All

10 reviews

4.8

10 reviews

  • tlqkf님의 프로필 이미지
    tlqkf

    Reviews 4

    ∙

    Average Rating 5.0

    5

    100% enrolled

    This course is insane. The value for money is top-tier. I'm a backend developer, but since React was required, I've been using it for over a year. Now that things have shifted to Next.js, I bought this course, and it helps me understand the operating principles of almost every feature needed for real-world work.

    • sucoding
      Instructor

      Hello, SB! Thank you for leaving such a great review! 🙌 I am truly happy to hear that our lecture was helpful in your experience of expanding your learning to React and even Next.js, despite being a backend developer. As you mentioned, we focused on structuring the course so that you could understand the "operating principles" rather than just simple usage, and it feels very rewarding to know that you appreciated that part. I hope this will be even more helpful in your practical work moving forward! 🚀

  • sduddla님의 프로필 이미지
    sduddla

    Reviews 22

    ∙

    Average Rating 5.0

    5

    65% enrolled

    Because you explained why each feature of Next.js is necessary, I was able to study with a true understanding rather than just learning how to use them. Thanks to that, the explanations flowing from concepts to logic and then to code felt like they were naturally building up in my head, and I could understand even new topics all at once. The missions were also excellent; since the approach involved designing the structure myself rather than just typing along, it helped me organize what I learned and made it stick in my memory much longer. I especially liked how it felt like I was training my mindset for architectural thinking. I will work hard to finish the remaining lectures!

    • sucoding
      Instructor

      Hello sy, Thank you so much for your precious review! Hearing that you studied not just how to use Next.js features, but also understood why they are necessary, makes me feel incredibly rewarded as the instructor. As you mentioned, I wanted to provide a learning experience that naturally flows from concept to flow to code, and I'm glad you felt that. Also, thank you very much for the feedback that designing the structure yourself through the missions helped you organize your thoughts and made it more memorable. I specifically focused on that part because the experience of contemplating the design process is much more helpful for improving your skills than simply following along. I hope you enjoy the rest of the lectures and gain many insights. I will be rooting for your future studies. Thank you! 🚀

  • sirubom12032826님의 프로필 이미지
    sirubom12032826

    Reviews 13

    ∙

    Average Rating 5.0

    Edited

    5

    21% enrolled

    Since I have been taking Sucoding's lectures for a while now, I was looking forward to the Next.js course as well, and as expected, I could feel the meticulousness just from the curriculum. I believe Sucoding's lectures are excellent because they provide a solid foundation and encourage self-directed learning through missions. Even in the age of AI where we might not write code manually as much, fundamental skills are always important. I am currently taking this course to better understand and utilize Next.js since I use it in my actual work, and it has been incredibly helpful. Thank you.

    • sucoding
      Instructor

      Hello, precious Buldosae! Thank you so much for leaving such a thoughtful and warm review 😊 It gives me even more strength to know that you have been with me consistently since the previous lecture. I am glad that you had a good first impression of the table of contents for the Next lecture as well, and I am grateful that you viewed the self-learning aspect through the missions positively. As you mentioned, since fundamentals are still important even in the AI era, I am trying my best not to miss that part. It is truly rewarding to hear that it was helpful even though you are already using Next in practice. I will continue to work hard to deliver content that can be applied immediately in the field along with solid fundamentals. Thank you once again 🙏

  • bigbattery님의 프로필 이미지
    bigbattery

    Reviews 6

    ∙

    Average Rating 5.0

    5

    33% enrolled

    I am well aware of the structures that I knew vaguely, which could have potentially caused errors. As expected, I can only say I'm using features properly when I fully understand them before applying them.

    • button님의 프로필 이미지
      button

      Reviews 4

      ∙

      Average Rating 5.0

      5

      30% enrolled

      The missions are already fully designed, so it really feels like you're actually "playing" the mission! Also, there are hints for each mission, and it's great for learning because it summarizes which parts to think about and what can be learned.

      • sucoding
        Instructor

        Hello, button_! Thank you so much for leaving such a precious review 😊 I'm truly glad to hear that you were able to focus more on implementation and experience the 'fun of creating' since the designs were already prepared for the missions! It is also very rewarding to hear that the hints provided for each mission, along with the points to consider and the organized learning materials, were helpful to you. I will continue to strive to create lectures where the learning flow is natural and where you can grow through your own deep thinking. Thank you 🙏

    sucoding's other courses

    Check out other courses by the instructor!

    Similar courses

    Explore other courses in the same field!

    Limited time deal

    $79,200.00

    20%

    $77.00