Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Skeleton Loader | Working with Data
Next.js 14
course content

Course Content

Next.js 14

Next.js 14

1. Introduction
2. Basic Concepts
3. Pages and Layouts
4. Deployment and Database
5. Working with Data
6. Advanced Features
7. Authentication

bookChallenge: Skeleton Loader

Your turn! Apply what you've just learned by refactoring the <LatestInvoices> component.

  1. Move the fetchLatestInvoices() function down from the page to the <LatestInvoices> component;
  2. Surround the component with a <Suspense> boundary, providing a fallback called <LatestInvoicesSkeleton>.

In Practice

Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 5. Chapter 7
some-alt