Question · Next.js course · Module 5: Rendering Strategies

Data fetching in Server Components can use:

Data fetching in Server Components can use:

Answer options

  • fetch, database queries, file system - any async operations
  • Only the fetch API with CORS headers
  • Only GraphQL queries via Apollo Client
  • Only REST API via axios library

You can check the correct answer by solving this task in the CodeWorlds game.