Skip to content

[docs] does config.kit.router.resolution="server" trigger hooks.server.js#handle? #14896

@sacrosanctic

Description

@sacrosanctic

Describe the bug

This was added in #13379.

The problem

The phrasing led me to believe that handle will run, which it does not.

The server has an opportunity to intercept each navigation

Because everything happens on the client, this decision can be made immediately...Alternatively, SvelteKit can determine the route on the server...the server will be asked to determine the route

Proposed solution

Further clarify:

  • what middleware is the docs referring to
  • explicitly state that it does not trigger handle hook.

Reproduction

.

Logs

System Info

.

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions