mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 17:42:27 +08:00
Co-authored-by: nilbuild <4921183+nilbuild@users.noreply.github.com>
664 B
664 B
Data Fetching Patterns in Next.js
There are a few recommended patterns and best practices for fetching data in React and Next.js, including:
- Fetching data on the server.
- Fetching data only where it's necessary.
- Using React's streaming and Suspense features to progressively render and incrementally stream rendered units of the UI to the client.
- Using parallel or sequential fetching depending on your particular use case.
- Using preload data.
Visit the following resources to learn more: