The hook is executed when routes are committed by the dev server child process. Use this hook to react to route changes and perform related tasks.
The hook is executed when dev server begins the routes scanning process. Use this hook to prepare for route scanning or modify scanner configuration.
The hook is executed when routes scanning process has finished. Use this hook to process the scanned routes or clean up resources.
Hooks executed by the dev server around the router. These hooks provide lifecycle management for route scanning and processing.
Example