Skip to content

Conversation

@kevinsimper
Copy link
Contributor

Moved the "Routing priority" section up and expanded it to better explain how Hono matches routes based on registration order. This aims to proactively address common confusion where parameterized routes might unintentionally capture requests intended for more specific static routes defined later. Added examples to illustrate the importance of ordering static vs. dynamic paths and also clarified the grouping order example.

})
```

## Routing Priority
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The description is perfect. It's clear!

But I think you should not move this section to the above. The current position below of "Routing with host Header value" is good. This "Routing Priority" is important, but the user should read it after understanding basic routing syntaxes. It's my opinion.

CleanShot 2025-04-15 at 10 51 18@2x

codeOwlAI pushed a commit to codeOwlAI/website that referenced this pull request Jun 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants