We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab66030 commit 914f16aCopy full SHA for 914f16a
modules/utils/createRouter.js
@@ -314,7 +314,7 @@ function createRouter(options) {
314
},
315
316
/**
317
- * Starts this router and calls callback(state, router) when the route changes.
+ * Starts this router and calls callback(router, state) when the route changes.
318
*
319
* If the router's location is static (i.e. a URL path in a server environment)
320
* the callback is called only once. Otherwise, the location should be one of the
0 commit comments