boring-router
Advanced tools
Comparing version 0.5.9 to 0.5.10
@@ -198,4 +198,4 @@ "use strict"; | ||
await Promise.all(interUpdateDataArray.map(data => this._willUpdate(data))); | ||
this._snapshot = nextSnapshot; | ||
this._update(generalGroups, interUpdateDataArray); | ||
this._snapshot = nextSnapshot; | ||
await Promise.all(interUpdateDataArray.map(data => this._afterUpdate(data))); | ||
@@ -202,0 +202,0 @@ if (navigateCompleteListener) { |
{ | ||
"name": "boring-router", | ||
"version": "0.5.9", | ||
"version": "0.5.10", | ||
"description": "A type-safe MobX router with parallel routing support.", | ||
@@ -37,3 +37,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "6a982590f61786532ae3733f16bb7e4052e52146" | ||
"gitHead": "e64412ae2512795560fe163434831b97400bef42" | ||
} |
@@ -575,6 +575,5 @@ import hyphenate from 'hyphenate'; | ||
this._snapshot = nextSnapshot; | ||
this._update(generalGroups, interUpdateDataArray as InterUpdateData[]); | ||
this._snapshot = nextSnapshot; | ||
await Promise.all( | ||
@@ -581,0 +580,0 @@ interUpdateDataArray.map(data => this._afterUpdate(data!)), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet