onBeforeRoute() hook

The onBeforeRoute() hook gives us full control over the routing process.

For example, the hook can be used to internationalize a pre-rendered app or to implement a custom router.

Example:

If you want more information about the onBeforeRoute() hook, open a GitHub ticket or reach out on Discord.

Edit this page