Question · Svelte and SvelteKit course · Module 14: Hooks, API and Deployment

The handle() Function

What does the handle() function do in hooks.server.js?

Answer options

  • It handles errors
  • It processes every HTTP request to the application
  • It handles forms
  • It manages sessions

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